PDA

View Full Version : X scale as timer label



el_comendante
17th July 2011, 18:50
I have newbie problem. I'd like to make plot of measure results. I need to have x scale as timer labels in hh.mm format. I can easily make timer which returns such string but I can't find out how I can put that string on x scale. For me the best interface would be such thing:

MyPlot::AppendPoints(double *yPoints, QString xLabel)
Cause measure is made with interval with his own timer. Space between each x point is constant. But after reading documentation and studying examples I'm not sure is it possible. For any tips I'll be grateful.

Uwe
18th July 2011, 06:28
Check the cpuplot example,

Uwe