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

Method addCoordinateSystem

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

Source from the content-addressed store, hash-verified

1637}
1638
1639void CartesianPlot::addCoordinateSystem() {
1640 auto cSystem = new CartesianCoordinateSystem(this);
1641 addCoordinateSystem(cSystem);
1642 // retransform scales, because otherwise the CartesianCoordinateSystem
1643 // does not have any scales
1644 retransformScale(Dimension::X, cSystem->index(Dimension::X));
1645 retransformScale(Dimension::Y, cSystem->index(Dimension::Y));
1646}
1647void CartesianPlot::addCoordinateSystem(CartesianCoordinateSystem* s) {
1648 m_coordinateSystems.append(s);
1649 if (project())

Callers 10

addPlotRangeMethod · 0.80
showParetoPlotMethod · 0.80
loadGraphLayerMethod · 0.80
curveRangeChangeMethod · 0.80
invalidcSystemMethod · 0.80

Calls 2

appendMethod · 0.80
indexMethod · 0.45