I have a float array with 100 rows and 15 columns.
I want to plot using QWTPlot..
its working with single dimension array not multi dimensional.
how to do ?
I have a float array with 100 rows and 15 columns.
I want to plot using QWTPlot..
its working with single dimension array not multi dimensional.
how to do ?
sorry for previous post........
double sn[ points ];
double sg[ points ];
m_curve->setData(sn,sg,points); // this is working
.
.
// I want two dimensional Array like
double sn[total][points];
.
.
m_curve->setData(sn[][],sn[][],points); //error..
I have a double array with 100 rows and 15 columns.
its working with single dimension array not multi dimensional.
help please
The method expects to receive a double* argument, so you need to pass double* and not double**.
Qt Code:
m_curve->setData(sn[0],sn[1],points);To copy to clipboard, switch view to plain text mode
Bookmarks