Go to the documentation of this file.
9 if (dx == 0 && dy == 0)
36 d1 =
map.invTransform(p1 - dx);
37 d2 =
map.invTransform(p2 - dx);
41 d1 =
map.invTransform(p1 - dy);
42 d2 =
map.invTransform(p2 - dy);
49 new_rect.setBottom(d1);
55 new_rect.setRight(d2);
void setAxisScale(QwtAxisId, double min, double max, double stepSize=0)
Disable autoscaling and specify a fixed scale for a selected axis.
double lowerBound() const
void setAutoReplot(bool=true)
Set or reset the autoReplot option.
QwtPlot * plot()
Return plot widget, containing the observed plot canvas.
bool isAxisEnabled(QwtAxisId) const
double upperBound() const
void moveCanvas(int dx, int dy) override
bool isXAxis(int axisPos)
const QwtScaleDiv & axisScaleDiv(QwtAxisId) const
Return the scale division of a specified axis.
int QwtAxisId
Axis identifier.
virtual void replot()
Redraw the plot.
virtual QwtScaleMap canvasMap(QwtAxisId) const
void rescaled(QRectF new_size)
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45