MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / rescaleAxes

Method rescaleAxes

3rdparty/qcustomplot/qcustomplot.cpp:11710–11714  ·  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

11708 \see rescaleKeyAxis, rescaleValueAxis, QCustomPlot::rescaleAxes, QCPAxis::rescale
11709*/
11710void QCPAbstractPlottable::rescaleAxes(bool onlyEnlarge) const
11711{
11712 rescaleKeyAxis(onlyEnlarge);
11713 rescaleValueAxis(onlyEnlarge);
11714}
11715
11716/*!
11717 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