uk.ac.starlink.ttools.plot2
Interface Ticker
- All Known Implementing Classes:
- BasicTicker, PrefixTicker
public interface Ticker
Provides tick marks to label plot axes.
- Since:
- 17 Oct 2013
- Author:
- Mark Taylor
Method Summary |
Tick[] |
getTicks(double dlo,
double dhi,
boolean withMinor,
Captioner captioner,
Orientation orient,
int npix,
double crowding)
Generates tick marks for labelling a plot axis. |
getTicks
Tick[] getTicks(double dlo,
double dhi,
boolean withMinor,
Captioner captioner,
Orientation orient,
int npix,
double crowding)
- Generates tick marks for labelling a plot axis.
- Parameters:
dlo
- minimum axis data valuedhi
- maximum axis data valuewithMinor
- if true minor axes are included,
if false only major (labelled) ones arecaptioner
- caption painterorient
- label orientationnpix
- number of pixels along the axiscrowding
- 1 for normal tick density on the axis,
lower for fewer labels, higher for more
- Returns:
- tick array
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.