MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / rescaleAxes

Method rescaleAxes

qcustomplot/qcustomplot.cpp:10994–10998  ·  view source on GitHub ↗

! Rescales the key and value axes associated with this plottable to contain all displayed data, so the whole plottable is visible. If the scaling of an axis is logarithmic, rescaleAxes will make sure not to rescale to an illegal range i.e. a range containing different signs and/or zero. Instead it will stay in the current sign domain and ignore all parts of the plottable that lie outside

Source from the content-addressed store, hash-verified

10992 \see rescaleKeyAxis, rescaleValueAxis, QCustomPlot::rescaleAxes, QCPAxis::rescale
10993*/
10994void QCPAbstractPlottable::rescaleAxes(bool onlyEnlarge) const
10995{
10996 rescaleKeyAxis(onlyEnlarge);
10997 rescaleValueAxis(onlyEnlarge);
10998}
10999
11000/*!
11001 Rescales the key axis of the plottable so the whole plottable is visible.

Callers

nothing calls this directly

Calls 3

axesMethod · 0.80
rescaleMethod · 0.80
foreachFunction · 0.70

Tested by

no test coverage detected