I have a plot with many curves. Is it possible to draw each curve's scale in canvas and possible with different colors ?
Printable View
I have a plot with many curves. Is it possible to draw each curve's scale in canvas and possible with different colors ?
What are "curve scales" in your context ?
But anyway - maybe QwtPlotScaleItem is what you are looking for.
Uwe
With curve's scale I mean just drawing of scales of each curve in the plot (or outside) so that it's easy to see each curves value. In my program the curves are all visible in the same plot and I've done it by applying a proper factor for y value.
EDIT: does QwtPlotScaleItem draw also numbers along with scale ?
EDIT2: curve 1 has min,max 0-100, curve 2 0-5, curve 3 0-1000. They are all visible in the same plot and I want to draw scales of each curve
Added after 26 minutes:
Maybe I can use QwtScaleWidget and set QwtScaleDiv from curve's data. Y axis is the one that I need
Or maybe you are looking forUweCode:
svn export https://svn.code.sf.net/p/qwt/code/branches/qwt-6.1-multiaxes
It is in sync with the code from the 6.1 svn - what differs from the 6.1.2 release by some bug fixes.
Uwe