Hi,
I have two questions. 1- when plotting like below example, points be connected together by lines. I need the points be plotted and there be no line. 2- my data is too huge and i want to use float instead of double but setSamples function gives two "QVector< double > &" . is it possible to use QVector< float > & ???
for example:
QVector<double> v(10);
v<<0<<1<<2<<3<<4<<5<<6<<7<<8<<9;//1-is it possible only this points be showed without any line between them?
c.setSamples(v, v);//2-how could i use Qvector<float> instead of Qvector<double>?
c.attach(&p);
p.show();
QVector<double> v(10);
QwtPlot p;
QwtPlotCurve c;
v<<0<<1<<2<<3<<4<<5<<6<<7<<8<<9;//1-is it possible only this points be showed without any line between them?
c.setSamples(v, v);//2-how could i use Qvector<float> instead of Qvector<double>?
c.attach(&p);
p.show();
To copy to clipboard, switch view to plain text mode
thanks for any help
Bookmarks