AutoScale Property (APlot)

Returns or sets whether the extent of the data in the plot affect the extent of the axes for the object.

Syntax

Object.AutoScale [ = bAutoScale ]

The AutoScale property syntax has the following parts:

 

Name

Type

Description

Object

APlot

APlot object

bAutoScale

Bool

A boolean expression that specifies whether the extent of the data in the plot affects the extent of the axes on the object.

Where

bAutoScale can be one of the following:

 

Value

Description

True

The plot's data extent affects the axes.

False *

The plot's data extent does not affect the axes.

Comments

If the AutoScale is TRUE, then if a datum value changes to a value outside the current axis limits, the axis will adjust so the axis max or min matches the new value. If the AutoScale is FALSE, the axis' max and min values will not change.

Example

The following statement changes the APlot's data extent to effect the axes:

plt1.AutoScale=True

Applies to

APlot

See Also

BaseValue, XAxisIndex, YAxisIndex