using the Auto Scale works great, but there is affects other scales.

Let me elaborate it.

I am using

Qt Code:
  1. rescaler = new QwtPlotRescaler( myplot->canvas() );
  2. rescaler->setReferenceAxis( QwtPlot::xBottom );
  3. rescaler->setAspectRatio( QwtPlot::yLeft, 1.0 );
  4. rescaler->setAspectRatio( QwtPlot::yRight, 0.0 );
  5. rescaler->setAspectRatio( QwtPlot::xTop, 0.0 );
  6. rescaler->setAspectRatio( QwtPlot::xBottom, 1.0 );
  7. rescaler->setRescalePolicy( QwtPlotRescaler::Fixed );
To copy to clipboard, switch view to plain text mode 

this code to prevent the curve to be stretched and lose its real shape.
but when i use the AutoScale before i replot, the curve get stretched , where i have to zoom in and out so the rescaler works and the curve gets its "unstreached shape".

how can i fix this issue.

Thanks