SharpPlot Reference > SharpPlot Methods > SetYTickLengths Method

SharpPlot.SetYTickLengths Method

Set the lengths of all Y-tickmarks individually, as a percentage of standard, or as exact values in points if YTickStyle is Absolute.

Example

sp.SetYTickLengths(120); // Extend all ticks
sp.SetYTickLengths(new int[] {150,80,80}); // Cyclic pattern
sp.YTickStyle = YTickStyles.Absolute;
sp.SetYTickLengths(new int[] {8,2,4,2}); // Values in points

Overloads

See also ...

SharpPlot.YDatumThreshold Property | SharpPlot.YGridThreshold Property | SharpPlot.YTickStyle Property


Send comments on this topic
© Dyalog Ltd 2021