Results 1 to 2 of 2

Thread: Different step sizes in x-axis

  1. #1

    Default Different step sizes in x-axis

    Is there a way to set different step sizes along the x-axis?

    I have to draw longe time records. The first few points and the last few points are of special interest and should be shown in fixed steps, the others should be displayed compressed, but the time labels in the x-axis have to be accurate even for the compressed middle data.

    If it's possible, I don't want to change the x-values itself.

    Thanks in advance!

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Different step sizes in x-axis

    If you have a formula for how to transform values between plot to widget coordinates you can apply it by deriving from QwtTransform. The scaleengine example shows an implementation ( "At 400" ), that stretches a specific range.

    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 18th September 2012, 22:27
  2. Replies: 4
    Last Post: 23rd July 2012, 21:09
  3. Qt Creator Debugging step by step through else rich code does not work
    By Terjoqu in forum Qt Tools
    Replies: 1
    Last Post: 11th March 2010, 22:44
  4. Video Tutorials or step by step guides?
    By Dumbledore in forum Newbie
    Replies: 2
    Last Post: 10th October 2007, 09:33
  5. Step by Step MySQL Plugin... what's next step?
    By chaosgeorge in forum Qt Programming
    Replies: 20
    Last Post: 5th November 2006, 16:32

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.