PDA

View Full Version : QwtPlot: several scales "attached" to one axis



Times
2nd December 2008, 14:54
Hello,

Is it possible while using qwtPlot to add several scales to one axis? E.g. I'd like to have "temperature", "pressure" and "density" (or more than three) for yLeft...

(e.g. if I have histogram with bars (which are e.g. "temperature"), and I added some points to this histogram, which are e.g. "pressure", I'll need two scales on yLeft... Or, I might have more than two scales)

I haven't found how to do it...

i.e. is it possible to assign more than one QwtScaleEngine for each axis, if not, how can I proceed?

Thank you very much in advance!

Uwe
2nd December 2008, 23:22
Qwt doesn't support multiple scales.

But you can find a patch here (http://sourceforge.net/tracker/?atid=313693&group_id=13693&func=browse), that might make 8 y-axes possible, but I havn't tried it myself.

Uwe