Results 1 to 6 of 6

Thread: QwtPlot x axis label

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2010
    Posts
    7
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QwtPlot x axis label

    Hello all,

    I have a QwtPlot that is in real time and sliding. I want to have 400 x values visable. Initially the x axis was auto scaling and being deleted on the left and increasing on the right. This looks really bad. I want it to have the graph look like it is going off the page on both left and right.

    I accomplished this with this function call:

    plot->setAxisMaxMajor(QwtPlot::xBottom, 400);

    Now the problem is I have 400 numbers marking each x axis tick. I have been looking around to no avail for a function to limit these numbers and only show maybe 4 with intervals of 100.

    Can someone help me please? Thank you!
    Last edited by ldg20; 12th July 2012 at 19:00.

Similar Threads

  1. QwtPlot - multiple axis
    By MukundanAR in forum Qwt
    Replies: 1
    Last Post: 7th March 2012, 07:53
  2. QwtPlot - multiple axis
    By MukundanAR in forum Newbie
    Replies: 0
    Last Post: 6th March 2012, 11:50
  3. QwtPlot legend with axis
    By desantossierra in forum Qwt
    Replies: 5
    Last Post: 20th January 2012, 14:05
  4. QwtPlot fixed X-axis display
    By micc13 in forum Qwt
    Replies: 2
    Last Post: 3rd December 2010, 12:28
  5. QwtPlot axis decmials/notation
    By dfirestone in forum Qwt
    Replies: 1
    Last Post: 1st May 2009, 10:42

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.