public static class TimeSurfaceFactory.Profile
extends java.lang.Object
createProfile
method.Constructor and Description |
---|
Profile(boolean ylog,
boolean yflip,
java.lang.String tlabel,
java.lang.String ylabel,
Captioner captioner,
boolean grid,
double tcrowd,
double ycrowd,
TimeFormat tformat,
boolean minor,
boolean tannotate)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TimeSurfaceFactory.Profile |
fixTimeAnnotation(boolean tannotate)
Returns a new profile instance the same as this one,
except that the flag for whether to annotate the time axis
may be set.
|
boolean |
getYLog()
Indicates whether Y axis is logarithmic.
|
public Profile(boolean ylog, boolean yflip, java.lang.String tlabel, java.lang.String ylabel, Captioner captioner, boolean grid, double tcrowd, double ycrowd, TimeFormat tformat, boolean minor, boolean tannotate)
ylog
- whether to use logarithmic scaling on Y axisyflip
- whether to invert direction of Y axistlabel
- text for labelling time axisylabel
- text for labelling Y axiscaptioner
- text renderer for axis labels etcgrid
- whether to draw grid linestcrowd
- crowding factor for tick marks on time axis;
1 is normalycrowd
- crowding factor for tick marks on Y axis;
1 is normaltformat
- time labelling formatminor
- whether to draw minor tickstannotate
- whether to annotate time axispublic boolean getYLog()
public TimeSurfaceFactory.Profile fixTimeAnnotation(boolean tannotate)
tannotate
- whether to annotate time axisCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.