next up previous 264
Next: LogPlot(axis) - Map the plot logarithmically onto the screen?
Up: AST Attribute Descriptions
Previous: LogGap(axis) - Interval between major axis values of a Plot


LogLabel(axis) - Use exponential format for numerical axis labels?

Description:
This attribute controls the appearance of an annotated coordinate grid (drawn with the astGrid function) by determining whether the numerical axis labels should be in normal decimal form or should be represented as 10 raised to the appropriate power. That is, an axis value of 1000.0 will be drawn as "1000.0" if LogLabel is zero, but as "10$\wedge$3" if LogLabel is non-zero. If graphical escape sequences are supported (see attribute Escape), the power in such exponential labels will be drawn as a small superscript instead of using a "$\wedge$" character to represent exponentiation.

The default is to produce exponential labels if the major tick marks are logarithmically spaced (see the LogTicks attribute).

Type:
Integer (boolean).
Class Applicability:
Plot
All Plots have this attribute.
Notes:
  • If no axis is specified, (e.g. "LogLabel" instead of "LogLabel(2)"), then a "set" or "clear" operation will affect the attribute value of all the Plot axes, while a "get" or "test" operation will use just the LogLabel(1) value.


next up previous 264
Next: LogPlot(axis) - Map the plot logarithmically onto the screen?
Up: AST Attribute Descriptions
Previous: LogGap(axis) - Interval between major axis values of a Plot

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council