Quote Originally Posted by Spitfire View Post
In my case the x value of the points is just an array index (0-n).
If I keep it this way then the bottom axis shows me a range 0-n when I want it to be a time (I know that the points represents certain span of time, ie 20ms).
I know I could convert x value to time value but when zooming in/out I would like to be able to change the values displayed on the axis as it doesn't make much sense to show 0.00002ms, 20ns would be much nicer.
0.00002ms, 20ns are different representations of the same value.
Changing the tick values, when you want to change its representation only is somehow "von hinten durch die Brust ins Auge".

Quote Originally Posted by Spitfire View Post
I'm fairly new to Qwt so I may be missing something obvious here.
See http://qwt.sourceforge.net/class_qwt...298de13483b61f.

Check the cpuplot example how to use it.

Uwe