Results 1 to 2 of 2

Thread: generating graph with unequal intervals using QCustomPlot in Qt

  1. #1
    Join Date
    Jun 2015
    Location
    India
    Posts
    28
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Default generating graph with unequal intervals using QCustomPlot in Qt

    0
    down vote
    favorite


    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:

    Example:
    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
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    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 17:04.

Similar Threads

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

Tags for this Thread

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.