Results 1 to 3 of 3

Thread: how to get the coordinates of the curves's points?

  1. #1
    Join Date
    Jul 2008
    Posts
    33
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default qwt - The coordinates of the show

    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.
    Last edited by wysota; 12th September 2008 at 09:21. Reason: Translated to English using Google

  2. #2
    Join Date
    Jul 2008
    Posts
    33
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default how to get the coordinates of the curves's points?

    hi:
    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 }
    Last edited by jpn; 12th September 2008 at 17:20. Reason: Translated to English, please stay with that language.

  3. #3
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,258
    Thanked 862 Times in 811 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qwt - The coordinates of the show

    I guess your question is about the translation between pixel and plot coordinates: this is done by the canvas maps.

    See QwtPlot::canvasMap(...)

    Uwe

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.