PlotWindow({Object}, Variable) Constructor

Top 

Description

Creates a new PlotWindow which will plot the objects specified by objectsToPlot and whose update mode is specified by updateOnStep.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Constructor Signature

PlotWindow(

{Object} objectsToPlot,


Variable updateOnStep)

 

 

Arguments

objectsToPlot


Description:

The objects which will appear in the Plot Window. If the PlotWindow PlotType is "XYPlot", the first object will be plotted along the x-axis, and any additional objects will be plotted on the y-axis. If the PlotType is "PolarPlot", every two objects will specify an angle-radius pair.

 

 

updateOnStep


Description:

Determines the update mode of the window. Set this argument to 1 to update the window automatically whenever a Spacecraft is stepped or maneuvered. Set this argument to 0 if the window should only be updated when the Update command or method is called.

 

If the window is updated automatically, the window's TargetDisplayMode property determines when updates are applied within a Target loop.

 

When multiple Spacecraft are being stepped, it is recommended that the window be updated manually using the Update command or method after all Spacecraft have been synchronized to the same epoch.

Valid Values:

Value

Label

0

false

1

true

 

 

 

 

Syntax

PlotWindow myPlotWindow1({ myObject1 }, myVariable1);

 

 

See also

PlotWindow Object

PlotWindow Guide