This is a open source assitent file for C++ gnuplot graphics.
Usage:
- import library
>> #include gnuplotassist.h
- declare a variable that has Graphic type:
>> Graphic points;
- use the prototype functions to add curves, change labels, change title etc.
>> points.title('Avaliation of market');
>> points.xlabel('time (years)');
>> points.ylabel('profit (dollars)');
>> points.addcurve('dataset', dataVec);
obs: in this case the parameters sent are a string witch contains the name of the curve
'dataset' and a vactor of double pair, that has the (x,y) points to plot; for more
types of headers access the gnuplotassist.h
- plot the graphic
>> points.plot();