Package uk.ac.starlink.ttools.plot2
Class Tick
java.lang.Object
uk.ac.starlink.ttools.plot2.Tick
Defines a tick on an axis.
A tick has a numerical value, used for positioning, and optionally
a text label. Ticks with no label are considered minor.
- Since:
- 12 Feb 2013
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Tick
public Tick(double value) Constructs a minor tick. This has no text label.- Parameters:
value
- numeric value
-
Tick
Constructs a tick. As long as the label is non-null, this is considered a major tick.- Parameters:
value
- numeric valuelabel
- tick label
-
-
Method Details