PDA

View Full Version : How do I implement a railway flow?



corrado1972
12th February 2011, 21:27
Hello,
I never usedt qwt before now: how do I implement a graph like this one? :
http://www.opentrack.ch/opentrack/images/otTrainGraph.gif


What I know: on the y axis I'll have stations, (integer values) on x axis I'll have time.
Each train will be a sequence of pair values (time, station).

Please, show me the way: I'll go ahead by myself :-)
thankyou all!

Uwe
13th February 2011, 09:17
What I know: on the y axis I'll have stations, (integer values) on x axis I'll have time.
Each train will be a sequence of pair values (time, station).

This is a QwtPlotCurve in QwtPlotCurve::Lines style with symbols for each point.

Uwe