View Full Version : how Can I cut part of x axes in QwtPlot???
dqrest
20th July 2012, 08:18
how Can I cut part of x axes in QwtPlot??? For emaple, my axes begin from x1 and end in x4 position. {x1,x2,x3,x4}. I'd like to miss ir hide [x2,x3] intreval with the datas and show the next joining intervals [x1,x2]U[x3,x4]. Can QwtPlot support it???
sonulohani
20th July 2012, 13:40
I think there is no such api for that.
This is the job of the scale engine - at least you can have irregular mappings, where you stretch or shrink specific intervals.
In SVN trunk you find the playground/scaleengine demo. Click on "At 400" for a scale engine that implements such an irregular mapping. The API for the scale engines and transformations has changed since 6.0, but you will get the idea.
Uwe
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.