HyperGraph

Axes Panel

Axes Panel

Previous topic Next topic Expand/collapse all hidden text  

Axes Panel

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Multiple axes can be added to plots using the Axes panel.  Axis attributes such as labels, color and scaling can also be modified using the Axes panel.  The panel is displayed when the Axes button, annotateAxes-24, is selected, or when you click on an axis label in the HyperGraph 2D window. You can also access the panel from the Annotations menu or toolbar.

The options available on the Axes panel depend on the current plot type: XY Plot, Bar Chart, Complex Plot, or Polar Plot.

hmtoggle_plus1XY Plot

axes_panel

Axes panel - XY Plot

hmtoggle_plus1Bar Chart

axes_panel_barcharts

Axes panel - Bar Chart

hmtoggle_plus1Complex Plot

axes_panel_complex

Axes panel - Complex Plot

hmtoggle_plus1Polar Plot

axes_panel_polar_magAxes panel - Polar Plot - Magnitude Axis

axes_panel_polar_phaseAxes panel - Polar Plot - Phase Axis

Option

Description

Axis List

Every xy plot has a primary horizontal axis and a primary vertical axis.  The primary axis is the default axis.  The Axis list enables you to add up to five horizontal and five vertical axes.  It consists of the Axis option menu and the list of axes names.  Axes can be added, cut, copied, and pasted using the buttons displayed below the axis list.  Axes can also be copied and pasted between windows.

Every bar chart has a primary (vertical) axis and a category (horizontal) axis.  The primary axis is the default axis.  Similar to xy plots, the Axis list enables you to add up to five additional (six total) vertical axes.  The Axis list consists of the Axis option menu and the list of axes names.  The primary axes and any additional vertical axes can be added, cut, copied, and pasted using the buttons displayed below the axis list.  Axes can also be copied and pasted between windows.

NoteThe category axis label can be renamed, however it cannot be added, deleted, copied, or pasted.  You can change the names of the categories on the Define Curves panel.

Every complex plot has one primary horizontal axis and one primary vertical axis.  Complex plot axes can be renamed, but they cannot be copied, pasted, deleted, turned off, or moved.

NotePrimary axes can be copied, pasted, and renamed, but they cannot be deleted or moved.

Axis Attributes

Individual axes can be turned on and off.  When an axis is turned off, the curves associated with the axis are also turned off.  To turn off an axis, select if from the axis list and deselect the Axis check box.

Label

The axis label is a single line of text displayed alongside the axis in the HyperGraph 2D window.  It is automatically updated in HyperGraph 2D when you enter a new name on the Text tab.

For bar charts, labels can be placed over both stacked and clustered bars.

For polar plots, the axis label is automatically updated when you enter a new name in the Label field.

For the r axis, the label is displayed along and under the "0" line between the center and the right side of the circle.

For the theta axis, the label is displayed below and outside the circle.

Note   Import templates can be written that specify the text for axis labels.  This enables axis labels to be automatically included when plots are constructed using the Reports panel.
 
See Import Templates for more information on import templates.

Color

Any of the 64 colors can be assigned to the axes.  Select an axis from the Axis list and then select a color from the palette to instantly change the color of the axes.  For Polar Plots, select the r axis or theta axis tab select a color from the palette to instantly change the color of the axes.

Click Use Preferences to set the axes to the default color specified in the preferences.mvw file.

NoteSee Preference Files for more information on specifying defaults in the preferences.mvw file.

Multiple axes allow you to easily view curves of different scales on the same plot by assigning the data vectors to separate appropriately scaled axes.  Data vectors are assigned to axes using the Scales, Offsets, and Axis Assignment panel for XY Plot.  For Bar Chart, they are assigned using the Curve Attributes panel > Axis Attributes tab.  Complex plots and polar plots do not support multiple axes.

On the Axes panel, the curve name is defined by a Templex expression instead of a fixed string.  The Templex expression is visible in the editable fields only.  In non-editable fields, the evaluated expression is displayed.  In most cases, the evaluated expression should match the text that was hard-coded in previous versions.  Please see Dynamic Curve Names for more information on this topic.

How do I...

hmtoggle_plus1Rename an axis:
1.Select the axis from the axis list or pick the axis from the HyperGraph 2D window.
2.Type a new name for the axis in the Axis text field.
3.Press Enter.

The new axis name is displayed in the axis list.

hmtoggle_plus1Add an axis to an xy plot:
1.From the Axis option menu, select either Horizontal or Vertical .
2.Click Add.

An axis named "X1" or "Y1" is added to the axis list and a new axis is displayed in the HyperGraph 2D window.  Horizontal axes are added to the top of the plot.  Vertical axes are added to the right side of the plot.

3.Enter a name for the new axis in the Axis text field and press enter.

The name appears in the axis list.

4.On the Text tab, enter a label for the new axis in the Label text field.

The label is displayed alongside the new axis in the HyperGraph 2D window.

hmtoggle_plus1Add an axis to a bar chart plot:
1.From the Axis option menu, click Add.

An axis named "Y1" is added to the axis list.  A new vertical axis is displayed on the right side of the HyperGraph 2D window.

Note that additional horizontal axes cannot be added to the plot.

2.Enter a name for the new axis in the Axis text field and press Enter.

The name appears in the axis list.

3.On the Text tab, enter a label for the new axis in the Label text field.

The label is displayed alongside the new axis in the HyperGraph 2D window.

hmtoggle_plus1Copy and paste an axis to another window:
1.Select the axis from the axis list or pick the axis from the HyperGraph 2D window.
2.Click Copy below the axis list.
3.Pick another HyperGraph 2D window.
4.Click Paste.

The selected axis is pasted in the window.

Horizontal axes can be copied and pasted as vertical axes and vice versa.

hmtoggle_plus1Copy and paste an xy plot axis to a new position:
1.Select the axis from the axis list or pick the axis from the HyperGraph 2D window.
2.Click Copy below the axis list.
3.Select a new position for the axis, either Horizontal or Vertical from the Axis option menu.
4.Click Paste.

The selected axis is pasted in the plot at the new position.

hmtoggle_plus1Copy and paste a bar chart axis to a new position:
1.Select the axis from the axis list or pick the axis from the HyperGraph 2D window.
2.Click Copy below the axis list.
3.Click Paste.

The selected axis is pasted in the plot at the new position.

Note that a category (horizontal) axis cannot be copied and pasted.

hmtoggle_plus1Turn off an axis:
1.Select the axis from the axis list or pick the axis from the HyperGraph 2D window.
2.Turn off the Axis check box.

The selected axis and its associated curves are no longer displayed on the plot.

Axis attributes such as labels, color, and scaling are modified using the Axes panel.

hmtoggle_plus1Change the attributes of an axis:
1.From the Axis option menu, select Horizontal or Vertical (for xy plot and complex plot only).
2.Select the axis name from the Axis list.

Or

3.Pick an axis from the current window.
4.Modify the desired attribute.

See Also:

Scaling axes

Axis tics

Enabling Units

Convert Units