MCPcopy Create free account
hub / github.com/ZhuYanzhen1/miniFOC / scaleRange

Method scaleRange

tools/qcustomplot.cpp:9136–9139  ·  view source on GitHub ↗

! Scales the range of this axis by \a factor around the center of the current axis range. For example, if \a factor is 2.0, then the axis range will double its size, and the point at the axis range center won't have changed its position in the QCustomPlot widget (i.e. coordinates around the center will have moved symmetrically closer). If you wish to scale around a different coordinate

Source from the content-addressed store, hash-verified

9134 overload \ref scaleRange(double factor, double center).
9135*/
9136void QCPAxis::scaleRange(double factor)
9137{
9138 scaleRange(factor, range().center());
9139}
9140
9141/*! \overload
9142

Callers 2

foreachFunction · 0.80
wheelEventMethod · 0.80

Calls 3

rangeFunction · 0.85
sanitizedForLinScaleMethod · 0.80
sanitizedForLogScaleMethod · 0.80

Tested by

no test coverage detected