Hi,

I don't want any spacing between the scale backbone and the canvas (plotting area). Thus, the backbones of the left and bottom axes should be "connected". I tried the following without success (there is a 1 or 2 pixels gap):

Qt Code:
  1. plotLayout()->setAlignCanvasToScales(true);
  2. plotLayout()->setCanvasMargin(0, QwtPlot::xBottom);
  3. plotLayout()->setCanvasMargin(0, QwtPlot::xTop);
  4. plotLayout()->setCanvasMargin(0, QwtPlot::yLeft);
  5. plotLayout()->setCanvasMargin(0, QwtPlot::yRight);
  6. plotLayout()->setSpacing(0);
  7. plotLayout()->setMargin(0);
To copy to clipboard, switch view to plain text mode 

Any hints?