Hi,
I have a plot (derived from the bode example) that can plot multiple curves. I am trying to put legends on either upper left or upper right corner of the canvas to show the name and color of each curve using QwtPlotMarker. Once I added the legends, I want them to stay exactly at the same location but couldn't make it work. Every time user zoom in/out, the legends position changes (sometime out of display), Or every time user append a new curve, the scale changes and the legend position also change
Is there anyway to make the legends appear at a fixed place on the canvas? Is QwtPlotMarker the right way to use (I want a color line with text next to it to show the name of the curve and the color of the curve)?
Thank so much for all your help.


Reply With Quote



Bookmarks