
MiniPlot and debugging
August 29, 2012There are tons of function plotters and there is Excel to plot data series but I needed something else so I made MiniPlot.
This software lets you type in or paste any number of data series and generate corresponding line charts on the fly. It’s dead simple to use and there is no button to click to generate charts, it’s instantaneous.
Here is the feature list:
- Updates as you type
- Automatically fits all series
- Auto axis scale with window size
- Each series has its own color
- Chart types: line, point, column, area
- Save chart as .jpg image
- Copy image to clipboard
I spend a lot of time reading the Visual Studio output window and the lines coming out of logs and tracepoints. But it can be full of other garbage like other log categories that I don’t really want to turn off, or random Visual Studio output about threads, dlls and all.
When I need to visualize my data, I’d copy paste the VS output in a text editor, remove all the garbage and end up with my values properly printed each per line, I’d open up Excel and paste those values, insert a new line chart, and I’d finally have a chart representing my data.
Now, with MiniPlot I just select all the text in the Visual Studio output window and paste it in there and I have my line chart instantly.
Whenever I can I just add tracepoints to the program I’m debugging, put in the textbox something like: playerSpeed {playerSpeed}, and paste the output in MiniPlot (which ignores all the crap that doesn’t match the 2 supported formats to add a point) so I can visualize what’s going on without recompiling my application nor having to use a text editor + Excel.
Series can be displayed as line, point, column or area charts.
There is no install needed (though you need .NET Framework 3.5), it’s just a 500KB standalone executable.
Leave a Reply