Results 1 to 2 of 2

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

  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 16:31.

  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: multiple left axes in QwtPlot still possible?

    The multiaxes branch can be found in the officiall qwt SVN ( soon git ) repositories.

    On github you find several clones from users that are in no way related to the Qwt development. AFAIR this one was made to build Qwt with cmake.
    Of course you can't expect any support for code from nonofficial sites.

    Uwe

Similar Threads

  1. Double click on the axes of qwtPlot ?
    By hassinoss in forum Qwt
    Replies: 2
    Last Post: 22nd May 2014, 08:41
  2. QwtPlot space between axes ?
    By hassinoss in forum Qwt
    Replies: 2
    Last Post: 14th February 2014, 19:29
  3. size of QWTplot without axes.
    By Gora in forum Qwt
    Replies: 3
    Last Post: 29th May 2013, 11:09
  4. Replies: 4
    Last Post: 18th March 2013, 06:01
  5. Replies: 2
    Last Post: 20th July 2012, 14: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.