uk.ac.starlink.ttools.plot2.geom
Class PlaneSurfaceFactory.Profile
java.lang.Object
uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile
- Enclosing class:
- PlaneSurfaceFactory
public static class PlaneSurfaceFactory.Profile
- extends Object
Profile class which defines fixed configuration items for
a PlaneSurface.
Instances of this class are normally obtained from the
createProfile
method.
Constructor Summary |
PlaneSurfaceFactory.Profile(boolean xlog,
boolean ylog,
boolean xflip,
boolean yflip,
String xlabel,
String ylabel,
Captioner captioner,
double xyfactor,
boolean grid,
double xcrowd,
double ycrowd,
boolean minor,
Color gridcolor,
Color axlabelcolor)
Constructor. |
Method Summary |
boolean[] |
getLogFlags()
Returns a 2-element array giving X and Y log flags. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlaneSurfaceFactory.Profile
public PlaneSurfaceFactory.Profile(boolean xlog,
boolean ylog,
boolean xflip,
boolean yflip,
String xlabel,
String ylabel,
Captioner captioner,
double xyfactor,
boolean grid,
double xcrowd,
double ycrowd,
boolean minor,
Color gridcolor,
Color axlabelcolor)
- Constructor.
- Parameters:
xlog
- whether to use logarithmic scaling on X axisylog
- whether to use logarithmic scaling on Y axisxflip
- whether to invert direction of X axisyflip
- whether to invert direction of Y axisxlabel
- text for labelling X axisylabel
- text for labelling Y axiscaptioner
- text renderer for axis labels etcxyfactor
- ratio (X axis unit length)/(Y axis unit length),
or NaN to use whatever bounds shape and
axis limits give yougrid
- whether to draw grid linesxcrowd
- crowding factor for tick marks on X axis;
1 is normalycrowd
- crowding factor for tick marks on Y axis;
1 is normalminor
- whether to paint minor tick marks on axesgridcolor
- colour of grid lines, if plottedaxlabelcolor
- colour of axis labels
getLogFlags
public boolean[] getLogFlags()
- Returns a 2-element array giving X and Y log flags.
- Returns:
- (xlog, ylog) array
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.