From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.

Qwt Plot: Hide axis

  • I'm trying to hide the axis of my Qwt Plot widget. I did the following:
    QwtPlot::enableAxis(xBottom, false);
    QwtPlot::enableAxis(yLeft, false);

    The bottom axis disappears nicely, and although my left axis disappears as well, my plot become squished. My plot used to be in a square, but after removing my left axis it becomes squished into a thin horizontal bar. I searched online but everyone's saying to use enableAxis, but why is my plot being squished? And how do I overcome this? I only want to remove the axis without my plot changing its shape.


Log in to reply