PlotAxis.SetRange(Variable, Variable) Method

Top 

Description

This method will set both the minimum and maximum values for the axis. Setting this property will set AutoScale to false. Note: If the axis is displaying date-formatted strings, use the TimeTools object to convert the desired minimum date to a Julian-formatted variable in TAI.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

PlotAxis.SetRange(

Variable minimumValue,


Variable maximumValue)

 

 

Arguments

minimumValue


Description:

The minimum value to be displayed on the axis. Note: If the axis is displaying date-formatted strings, use the TimeTools object to convert the desired maximum date to a Julian-formatted variable in TAI.

 

 

maximumValue


Description:

The maximum value to be displayed on the axis. Note: If the axis is displaying date-formatted strings, use the TimeTools object to convert the desired maximum date to a Julian-formatted variable in TAI.

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if the calling PlotAxis's minimum and maximum values are set successfully.

 

Syntax

myVariable1 = myPlotAxis1.SetRange(myVariable2, myVariable3);

 

 

See also

PlotAxis Object

PlotWindow Guide