Results 1 to 2 of 2

Thread: multiple left axes in QwtPlot still possible? -solved

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    92
    Thanks
    7
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default multiple left axes in QwtPlot still possible? -solved

    Hi
    I found this: https://www.qtcentre.org/threads/690...Plot-multiaxes
    which suggests there is a file qwt_axis_id.h
    and you can define multiple left and right axes
    QwtAxisId axisY1(QwtPlot::yLeft,0);
    QwtAxisId axisY2(QwtPlot::yLeft,1);
    This post refers also to https://www.developpez.net/forums/d1...lusieurs-axes/
    for another example
    which uses QGraph->setYAxis(QwtAxisId(QwtAxis::yLeft, 0));

    however I cannot find any reference to QwtAxisId in version 6.1.6 ? I hope this feature still exists?
    (my install is package within msys2)
    Thanks
    Victor

    EDIT: the solution is in this branch: http://svn.code.sf.net/p/qwt/code/br...6.1-multiaxes/
    Last edited by qt_gotcha; 22nd May 2021 at 15:31.

Similar Threads

  1. Double click on the axes of qwtPlot ?
    By hassinoss in forum Qwt
    Replies: 2
    Last Post: 22nd May 2014, 07:41
  2. QwtPlot space between axes ?
    By hassinoss in forum Qwt
    Replies: 2
    Last Post: 14th February 2014, 18:29
  3. size of QWTplot without axes.
    By Gora in forum Qwt
    Replies: 3
    Last Post: 29th May 2013, 10:09
  4. Replies: 4
    Last Post: 18th March 2013, 05:01
  5. Replies: 2
    Last Post: 20th July 2012, 13:51

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.