View Full Version : how to get the coordinates of the curves's points?

12th September 2008, 07:32
hi everyone!

I used to do QwtPlotCurve curve. Now like to ask how art can be kind of coordinates of the points. When the mouse stops at the point that the point of coordinates. Instead of drawing the curve, do not show. QwtPlotPicker can be used at the coordinates of the mouse, but I need is drawing point coordinates, is there no one can be under the guidance

Edit:Translated to English, please stay with that language.

12th September 2008, 07:38
I want to the coordinates of the curves's point ,not the plot's coordinates.how could i do? thanks!

{ 2 threads merged, duplicate content removed }

12th September 2008, 08:43
I guess your question is about the translation between pixel and plot coordinates: this is done by the canvas maps.

See QwtPlot::canvasMap(...)