How to invert the direction of an axis depends: if you are using QwtPlot::setAxisScale simply exchange the values for the min and max parameters. If you are using the autoscaler you have to enable the QwtScaleEngine::Inverted flag.
If you want to exchange x/y coordinates without copying your values I guess implementing your own QwtData bridge might be the easiest way.
Uwe




Reply With Quote
Bookmarks