< prev | next >

axis < Tags < Home

<axis>

The <axis> tag specifies a vertical axis to appear within the context of a graph. As such, <axis> tags can only appear as children of a <graph>. At present, <axis> tags are completely defined by their attributes, so they don't contain any children.

Only one axis appears on a graph for each dimension that is represented in the graph's data. For example, a graph may contain data for air temperature, dewpoint, and rainfall. The two temperatures will be plotted against a single vertical axis for temperature, while rainfall will be plotted against a separate axis for precipitation.

Attributes

attribute

default

description

units

Required. The units attribute uniquely identities this vertical axis among those on the graph.

The unit of measure (and indirectly, the dimension) for values on this axis. A graph may have only one axis for each dimension.

low

By default, the low attribute is selected to ensure that the minimum value found in the data being plotted on the axis will be visible.

The value associated with the lowest point on this axis.

high

By default, the high attribute is selected to ensure that the maximum value found in the data being plotted on the axis will be visible.

The value associated with the highest point on this axis.

Children

None.

Examples

<graph>
  <axis units="fahr" low="32" high="212"/>
  <axis units="wpsm" low="0.0"/>
  <axis units="mm" high="22.5"/>
  <axis units="mph"/>
</graph>

Confidential. Copyright © 2002, Oklahoma Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.