Results 1 to 3 of 3

Thread: how Can I cut part of x axes in QwtPlot???

  1. #1
    Join Date
    Jul 2012
    Posts
    11
    Qt products
    Qt4
    Platforms
    Windows

    Default how Can I cut part of x axes in QwtPlot???

    how Can I cut part of x axes in QwtPlot??? For emaple, my axes begin from x1 and end in x4 position. {x1,x2,x3,x4}. I'd like to miss ir hide [x2,x3] intreval with the datas and show the next joining intervals [x1,x2]U[x3,x4]. Can QwtPlot support it???

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how Can I cut part of x axes in QwtPlot???

    I think there is no such api for that.
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

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

    Default Re: how Can I cut part of x axes in QwtPlot???

    This is the job of the scale engine - at least you can have irregular mappings, where you stretch or shrink specific intervals.

    In SVN trunk you find the playground/scaleengine demo. Click on "At 400" for a scale engine that implements such an irregular mapping. The API for the scale engines and transformations has changed since 6.0, but you will get the idea.

    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 24th February 2012, 15:01
  2. Replies: 3
    Last Post: 2nd October 2011, 13:52
  3. Replies: 2
    Last Post: 23rd August 2011, 12:23
  4. Zoom and pan with two y-axes
    By mjfj in forum Qwt
    Replies: 1
    Last Post: 19th October 2010, 10:39
  5. Plot Axes
    By mcarter in forum Qwt
    Replies: 0
    Last Post: 4th December 2009, 23:47

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.