public interface Ticker
Modifier and Type | Method and Description |
---|---|
TickRun |
getTicks(double dlo,
double dhi,
boolean withMinor,
Captioner captioner,
Orientation[] orients,
int npix,
double crowding)
Generates tick marks for labelling a plot axis.
|
TickRun getTicks(double dlo, double dhi, boolean withMinor, Captioner captioner, Orientation[] orients, int npix, double crowding)
The supplied list of orientations is attempted in order; if the required crowding can be satisfied by any of them, that orientation will be used. If it can't be supplied by any (because of unavoidable label overlap) a lower crowding value may be used.
dlo
- minimum axis data valuedhi
- maximum axis data valuewithMinor
- if true minor axes are included,
if false only major (labelled) ones arecaptioner
- caption painterorients
- array of label orientations in order of preference,
must contain at least one elementnpix
- number of pixels along the axiscrowding
- 1 for normal tick density on the axis,
lower for fewer labels, higher for moreCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.