MCPcopy Create free account
hub / github.com/KDE/labplot / rangeScale

Method rangeScale

src/backend/worksheet/plots/cartesian/CartesianPlot.cpp:1570–1576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1568};
1569
1570RangeT::Scale CartesianPlot::rangeScale(const Dimension dim, const int index) const {
1571 if (index < 0 || index > rangeCount(dim)) {
1572 DEBUG(Q_FUNC_INFO << ", index " << index << " out of range")
1573 return RangeT::Scale::Linear;
1574 }
1575 return range(dim, index).scale();
1576}
1577
1578RangeT::Scale CartesianPlot::xRangeScale() const {
1579 return xRangeScale(defaultCoordinateSystem()->index(Dimension::X));

Callers 5

updateScaleMethod · 0.80
loadMethod · 0.80
autoScaleLog10Method · 0.80
autoScaleLog102Method · 0.80

Calls 1

scaleMethod · 0.45

Tested by 3

autoScaleLog10Method · 0.64
autoScaleLog102Method · 0.64