SharpPlot Reference > SharpPlot Methods > SetAxesScales Method

SharpPlot.SetAxesScales Method

Set axes scales as ratio : Y/X, Z/X


sp.SetAxesScales(1); // force all normal axes (using the same scale)



Gives the axes scales ratio as a list of numbers. First number is Y/X scale ratio. Second number is Z/X scale ratio. A single number is applied to all axes. A zero can be used to disable the scale ratio (and revert to independent axes scales).

Note that to observe the axes scales, the axes ranges may have to be extended, so that SetXRange, SetYRange SetZRange only give the minimum range and not the exact range.

See also ...

Balanced Axis | SharpPlot.XIntercept Property | SharpPlot.YIntercept Property

Send comments on this topic
© Dyalog Ltd 2021