MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / setAxisLimits

Method setAxisLimits

pj_plotting/widget/src/PlotMagnifier.cpp:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void PlotMagnifier::setAxisLimits(int axis, double lower, double upper) {
23 if (axis >= 0 && axis < QwtPlot::axisCnt) {
24 lower_bounds_[axis] = lower;
25 upper_bounds_[axis] = upper;
26 }
27}
28
29void PlotMagnifier::rescale(double factor, AxisMode axis) {
30 factor = qAbs(1.0 / factor);

Callers 1

updateMaximumZoomAreaMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected