Results 1 to 2 of 2

Thread: generating graph with unequal intervals using QCustomPlot in Qt

  1. #1
    Join Date
    Jun 2015
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default generating graph with unequal intervals using QCustomPlot in Qt

    down vote

    I am able to generate the graph with equal intervals on both the axis using QCustomPlot .

    Example: If i give the range as 100 to 1 and set the tickstep as 10, the tick label is 100 90 80 70 60 ....

    But i need to generate dynamically with unequal intervals.

    Expected output:

    In xaxis I have to get the tick label as 100 50 40 30 10 9 8 ...

    In yaxis i need the tick label as 0.1 ,0.2, 0.3, 0.4, 99999, 99999

    space and number interval should not be same. How can we generate graph with unequal intervals in x and y axis using QCustomPlot.

  2. #2
    Join Date
    Jan 2008
    Alameda, CA, USA
    Thanked 808 Times in 797 Posts
    Qt products
    Windows Android

    Default Re: generating graph with unequal intervals using QCustomPlot in Qt

    You asked this question once already, and it was answered, twice. Before you post this again, why not spend a few minutes looking at your previous posts?
    Last edited by d_stranz; 10th June 2015 at 16:04.

Similar Threads

  1. Replies: 2
    Last Post: 7th June 2015, 08:21
  2. how to implement scale intervals
    By g_daniel_g in forum Qwt
    Replies: 0
    Last Post: 15th August 2014, 11:46
  3. QCustomplot
    By Harshavardhan in forum Newbie
    Replies: 1
    Last Post: 10th March 2014, 20:13
  4. Arranging Qwt plots of unequal sizes
    By bigjoeystud in forum Qwt
    Replies: 1
    Last Post: 23rd September 2013, 17:13
  5. Help with QCustomPlot
    By aashok91 in forum Qt Programming
    Replies: 0
    Last Post: 9th January 2013, 00:56

Tags for this Thread


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.