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.


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


See also ...

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

Send comments on this topic
© Dyalog Ltd 2021