c++ - How to visualize data with Qt QwtPlot3D -
i have problem using qt+qwtplot3d library.
i need visualize data. data simple matrix 5x5. values float numbers.
for example this:
0 0 0 0 0 0 4,5 0,5 1,5 -2 0 0,5 2 0,5 0 0 0,5 0,5 0,45 0 0 0 0 0 0 
i try out examples. understand use library should create class reloaded operator inheritance class qwt3d::fucntion.
double operator (double x, double y); this way not me becase have no z = f(x,y), have coordinates.
in official manual found function:
bool loadfromdata(double **data, unsigned int columns, unsigned int rows, double minx, double maxx, double miny, double maxy) but there no example or sample how draw plot using function.
can me find way draw matrix in qt?
if delays not critical you, use qprocess execute gnuplot.exe. save plot *.png. , open image in program
Comments
Post a Comment