HyperWorks Desktop

*SetAxisDefaults()

Specifies default axis settings such as type and number of tics.

*SetAxisDefaults()

Specifies default axis settings such as type and number of tics.

Previous topic Next topic No expanding text in this topic  

*SetAxisDefaults()

Specifies default axis settings such as type and number of tics.

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

Syntax

*SetAxisDefaults(Type, Number Of Tics, Grids Per Tic,
Tics Per Decade, Grids Per Decade,
Dynamic Range)

Arguments

Names

Description

 

Type

Specifies whether the axes are linear (0), decibel (1), or logarithmic (2).

 

Number of Tics

The number of tics displayed on the axes.

 

Grids Per Tic

The number of gridlines between each tic.

 

Tics Per Decade

The number of tics in a decade on a logarithmic scale or decibel.

 

Dynamic Range

The power of 10 to be used for calculating the default dynamic range.

Example

*BeginPlotDefaults()

 *SetBorderColor(12)

 *SetFrameColor(12)

 *SetHeaderColor(1)

 *SetBackgroundColor(0)

 *SetGridlineColor(14)

 *SetZerolineColor(10)

 *SetAxisColor(1)

 *SetCurveDefaults(1, 3, 1, 0, 0)

 *SetCurveDefaults(1, 4, 1, 0, 0)

 *SetAxisDefaults(0, 11, 2, 1, 11, 4)

 *SetLegendPlacement(TopRight)

 *SetNoteAttachment(View)

 • • •

*EndPlotDefaults()

Application

HyperGraph and HyperGraph 3D.

Context

*BeginPlotDefaults()

Comments

*SetAxisDefaults() applies to both the X and Y axes.

See also

 

*SetAxisColor()

*SetAxisLabelFont()

*SetAxisTicFont()

List of Preference Statements