uk.ac.starlink.ttools.plot2.geom
Class CubeSurfaceFactory.Profile
java.lang.Object
uk.ac.starlink.ttools.plot2.geom.CubeSurfaceFactory.Profile
- Enclosing class:
- CubeSurfaceFactory
public static class CubeSurfaceFactory.Profile
- extends Object
Profile class which defines fixed configuration items for
an isotropic or non-isotropic CubeSurface.
Instances of this class are normally obtained from the
createProfile
method.
Constructor Summary |
CubeSurfaceFactory.Profile(boolean xlog,
boolean ylog,
boolean zlog,
boolean xflip,
boolean yflip,
boolean zflip,
String xlabel,
String ylabel,
String zlabel,
Captioner captioner,
boolean frame,
double xcrowd,
double ycrowd,
double zcrowd,
boolean minor,
boolean antialias)
Constructor. |
Method Summary |
boolean[] |
getLogFlags()
Returns a 3-element array giving X, Y and Z log flags. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CubeSurfaceFactory.Profile
public CubeSurfaceFactory.Profile(boolean xlog,
boolean ylog,
boolean zlog,
boolean xflip,
boolean yflip,
boolean zflip,
String xlabel,
String ylabel,
String zlabel,
Captioner captioner,
boolean frame,
double xcrowd,
double ycrowd,
double zcrowd,
boolean minor,
boolean antialias)
- Constructor.
- Parameters:
xlog
- whether to use logarithmic scaling on X axisylog
- whether to use logarithmic scaling on Y axiszlog
- whether to use logarithmic scaling on Z axisxflip
- whether to invert direction of X axisyflip
- whether to invert direction of Y axiszflip
- whether to invert direction of Z axisxlabel
- text for labelling X axisylabel
- text for labelling Y axiszlabel
- text for labelling Z axiscaptioner
- text renderer for axis labels etcframe
- whether to draw axis wire framexcrowd
- crowding factor for tick marks on X axis;
1 is normalycrowd
- crowding factor for tick marks on Y axis;
1 is normalzcrowd
- crowding factor for tick marks on Z axis;
1 is normalminor
- whether to paint minor tick marks on axesantialias
- whether to antialias grid lines and text
getLogFlags
public boolean[] getLogFlags()
- Returns a 3-element array giving X, Y and Z log flags.
- Returns:
- (xlog, ylog, zlog) array
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.