Description | Example | Return message | Group

TE_Graph

Create, modify, or remove a graph.

Syntax

TE_Graph <ObjectPath> {Add | Save | Delete | Modify | Refresh} Name "<Name>" AnalysisObject "<Name>" {GraphXY | Multigraph | ColorLine | BoxWhiskerVert | BoxWhiskerHoriz | Histogram} <Parameters> {Stat} <Parameters> {Show "<On | Off>"}

Related commands

Description

TETK must be installed in order to use this command.

This command generates a graph in TETK.

Name "<Name>" specifies the name of the graph. This parameter is required.

AnalysisObject "<Name>" is the name of the analysis object. This parameter is required.

The following table describes the keywords for the Name parameter.

<Keyword>Description
GraphXYA cartesian coordinate graph that plots a single graph in the window. GraphXY graphs may have multiple lines but the dimensions must be the same.
MultigraphPlots multlple graphs in a single window. Each line has its own Y-axis and X-axis. Multigraph graphs may have multiple lines with different dimensions.
ColorLineDisplays a line showing the span of the time contraint. There is no Y value and the X value is fixed as time.
BoxWhiskerVertPlots three data points — the min and max of the data set, as well as the median in the center of the plot.
BoxWhiskerHorizPlots three data points — the min and max of the data set, as well as the median in the center of the plot.
HistogramDisplays frequency distribution of multiple data points for a single metric or variable. Data points are classified into bins, which cover a range of numeric values. The following attributes are supported:
  • UseYFilter "<On | Off>": User-specified low range and high range values.
  • YFilterLow: A decimal number in the units shown.
  • YFilterHigh: A decimal number in the units shown; must be larger than the low value.
  • BinCount "<value>": The number of bins to display on the histogram. Acceptable values are 1-20.

The following table describes the Segment parameters which are used for the Add option.

For the Add option, either Segment Color or Segment Gradient must be entered.

<Parameters>Description
DrawLine "<On | Off>"Enables you to draw a line segment. Accepted values are On and Off. By default, the value is set to Off.
ShowLine "<Yes | No>"Enables you to show or hide a graph line segment. Accepted values are Yes and No. Note that this keyword performs the same function as ShowItem.
ShowItem "<Yes | No>"Enables you to show or hide a graph line segment. Accepted values are Yes and No. Note that this keyword performs the same function as ShowLine.
Segment Color "<Color>"Enter a color.
Segment Gradient "<DataElement>,<Value1>,<Color1>,<Value2>,<Color2>,..."

Enter the data element, followed by a comma separated list of value, color.

See below for format of <DataElement>.

BelowColor "<value>"

Enter a color value (named color, RGB, or hue). If you do not specify a color, the BelowColor will be turned off.

This keyword only is used in conjunction with the Segment Gradient keyword.

Above "<ON | OFF>"

Define if the segment displays a color for values above the highest specified value.

This keyword only is used in conjunction with the Segment Gradient keyword.

DrawPoints "<On | Off>"Enables you to draw a point. Accepted values are On and Off. By default, the value is set to On.
Point Size "{Small | Large | Medium | Micro}"Enter the size.
BackImage "<filename>,<style> "Enables you to add a .BMP image to the background of the graph. The filename parameter refers to the name of the .BMP image that is added to the graph background. The style parameter accepts the values Center and Stretch. To center the image within the graph, use Center. To span the image across the graph, use Stretch. To remove the image from the graph background, specify the keyword with a value of ",".
BackOutsideColor "<Color>"Enter the background color of the region outside of the graph axes.
BackInsideColor "<Color>"Enter the background color of the region inside of the graph axes.
LimitPointSize "<ON | OFF>"Limits the point size to the value defined in the Point Size parameter. This ensures that the point size will not increase when enlarging the graph. Default value is off.
Point "{1.0 | 1.5 | 2.0 | 2.5 | 3.0}"Enter the point. This parameter accepts the keyword PixelSize, which enables you to define the pixel size of a track point. Accepted values are 0-30.
Seg Line Style "{Points, PointsPlusLine, ThinLine, MediumThinLine, MediumLine, DashLine, MediumThinDashLine, MediumDashLine, DotLine, MediumThinDotLine, MediumDotLine, DotDashLine, MediumThinDotDashLine, MediumDotDashLine}"Enter the desired style. Note the first two plot the data points.
Stat "<RMS | StdDev>, <XStepValue>, <XStepUnit>, <Color>"

Display RMS or standard deviation on the graph with error bars. Specify RMS or StdDev followed by the value for the X step, the unit for the X step, and the color to draw the statistic in.

This keyword only is used when XIsTIme is false.

Overlap < ON | OFF >

MultiGraph only. When Overlap is On, MultiGraph axes will appear in the same chart. When Overlap is Off, MultiGraph charts will be stacked.

When using the Modify option, you must specify which Segment you are modifying. The following table describes the Segment parameters which are used for the Modify option.

<Parameters>Description
Segment "<Value>" Color "<Color>"Enter the segment number, then the color to modify.
Segment "<Value>" Gradient "<DataElement>,<Value1>,<Color1>,<Value2>,<Color2>,..."Enter the segment number, then the data element to modify, followed by a comma separated list of values and colors.

See below for format of <DataElement>.

Segment "<Value>" BelowColor "<value>"Enter a color value (named color, RGB, or hue). To turn off the BelowColor, enter Off.

This keyword only is used in conjunction with the Segment Gradient keyword.

Segment "<Value>" Above "<ON | OFF>"Define if the segment displays a color for values above the highest specified value.

This keyword only is used in conjunction with the Segment Gradient keyword.

Segment "<Value>" Point Size "{Small | Large | Medium | Micro}"Enter the segment number, then the size of the segment point.
Segment "<Value>" Point "{1.0 | 1.5 | 2.0 | 2.5 | 3.0}"Enter the segment number, then the the point.

The following table describes the parameters which are used for the Add or Modify option.

<Parameters>Description
DataElement "<DataElement1>,<DataElement2>,..."A comma separated list of names of the data elements to be plotted.

See below for format of <DataElement>.

If only one data element is defined, you must include the XIsTime parameter.

XIsTimeEnter to specify that the x-axis will show time.
Labels "<Name1>,<Name2>,..."A comma separated list of Y-axis labels. If graph is of type MultiGraph and X-axis is not time, then the user can specify the X-axis label after all the Y-axis labels.
Units "<Unit1>,<Unit2>,..."A comma separated list of unit names to use for Y-axis. If graph is of type MultiGraph and X-axis is not time, then the user can specify the X-axis unit after all the Y-axis units.
TimeConstraint "<Value>" .Specify the name of a time constraint. This parameter supports fully qualified names as well as just the middle word of the name.
HorizontalLine "<value>,<label text>,<color>"

Enter horizontal line information.

If using the Modify option, you also have an {On | Off} toggle option.

Step "<value>"

Enter the name of an STK object to use its time step to "thin" the data. Additionally, this keyword accepts a double value which enables you to use a manual time step value.

If using the Modify option, you have the option to set this parameter to None.

Overlay "<value>"List of file, color, line thickness {thin, medium, thick}, line type {line solid, line dash, line dot, square, triangle, dot}, transparency value, fill color, fill transparency (Only the file value is required; the rest are optional).

Each of these values have a default value. These values can be overwritten by the header values in the file. Lastly, values defined on this command line override both of these values.

If using the Modify option, the file name entered determines the overlay you want to modify. If this file name is not recognized, then a new overlay is created. Header values in the file are ignored when using the Modify command.

Also, you have the option to set this parameter to None.

Annotation "<Type>,<Subtype>,<Location>,<Color>,<Thickness>,<Label>,<Placement>,<Font Size>,<Specification>,<Span Type>,<Span End Bar Length>, <Span Arrow Tail>"

The Annotation keyword and its definition must come after the Segment keyword and its definition.

The attributes Type, SubType, and Location are required.

Type: Span, Line, Shape, BoundaryLine, Region.

All annotation types support the attribute Translucency: 0-100, with 0 as the default value.

Subtype:

  • Span: Horizontal, Vertical
  • Line: StraightLine, PolyLine.
    • Additionally, Line supports the attribute LineStyle: Solid, Dot, Dash, Dotdash.
    • The Polyline subtype supports the attribute Degree: 2-10, with 4 being the default value. This is the degree of the polynomial curve fit to the annotation.
    • The Polyline subtype also supports the attribute ShowFit: On, Off. This is only available when modifying a PolyLine.
  • Shape: TriangleDown, TriangleUp, Diamond, Square, Dot, Pointer, Arrow, Text, TriangleDownOutline, TriangleUpOutline, DiamondOutline, SquareOutline, DotOutline.
  • BoundaryLine: Horizontal, Horizontal2, Vertical, Vertical2.
  • Region: Box, Polygon.
    • Additionally, Region Box supports the attribute LineStyle: Solid, Dot, Dash, Dotdash.
    • Region also supports the attribute Fill: On, Off.

Location:

  • Horizontal Line: Y value and unit.
  • Horizontal2 Line: Y value and unit, Y value and unit.
  • Vertical Line: X value and unit.
  • Vertical Line: X value and unit, X value and unit.
  • Horizontal Span: X value and unit, Y value and unit, X value and unit.
  • Vertical Span: X value and unit, Y value and unit, Y value and unit.

The amount of Location points required for each Subtype varies as follows:

  • StraightLine - the Location attribute must have two points.
  • PolyLine - the Location attribute must have three or more points.
  • Box - the Location attribute must have two points.
  • Polygon, the Location must have three or more points.

AnnotationName: The unique name of the annotation.

Color: The color of the annotation and label. You can define a color using its name, RGB, and numerical value. The default value is Blue.

Thickness: Small, Medium, Large. Note that this does not apply to Shape Text annotations. The default is Medium.

Label: any random text. Note that the Shape Text supports multiline labels. Specifying "\n" separates the lines. Span supports a label at each end. The default value is "".

Placement:

  • Shape and Span: TopLeft, TopCenter, TopRight, BottomLeft, BottomCenter, BottomRight The default is TopCenter.
  • Horizontal Line: LeftAbove, LeftBelow, CenterAbove, CenterBelow, RightAbove, RightBelow. The default value is LeftAbove.
  • Vertical Line: Top, Center, Bottom The default is Bottom. Note that double lines and Span can also use Placement2.

Font Size: Value range is 8–18.

Specification: Applies to Line Annotations only. See Graph Annotations for how these are shown in the graph statistic summary. The default value is None.

Single Line: None, Min, Max.

Two Lines: None, Inside, Outside.

Span type: Line, LineWithArrows, ArrowsInside, ArrowsOutside. Default is Line.

Span End Bar Length: The length in pixels of the end bars of the span. Value range is 2–200. Default value is 10.

Span Arrow Tail: The length in pixels of the arrow tails. Value range is 2–200. Default value is 30.

A MultiGraph can have multiple graph segments each in its own section. You can specify which section the annotation belongs in by specifying the Annotation after that Segment keyword.

Modify adds an index as the value of the Annotation keyword to designate which annotation is being modified. The index starts at 1. Modify also adds a special Type value of "Delete". If you specify just the index and "Delete", then that annotation will be removed from the graph. Note that to modify an attribute at the end of the list, you must specify the first three required attributes.

Regression"<Name>,<AnalysisObject>,<Segment>,<Color>,<Thickness>,<Label>,<FontSize>,<LineStyle>,<Label>,<ShowR>,<ShowEq>"Enables you to create a regression line. The attributes Name, AnalysisObject, and Segment are required.

The ShowR attribute enables you to display a text annotation with the value of the regression. Values are On and Off. The default value is On.

The ShowEq attribute enables you to display the equation as a separate text annotation for the straight line. Values are On and Off. The default value is Off.

AnimationLine "<Color>"Enter a color.

If using the Modify option, you also have an {On | Off} toggle option.

ConnectDots "{On | Off}"
ExtentY "<Value>"Define a specific Y axis limit. This value is in the current units.
ExtentX "<Value>"Define a specific X axis limit. This value is in the current units.
SlideTrail "<Value>"Define the trail minutes in the slide window of the graph.
SlideLead "<Value>"Define the lead minutes in the slide window of the graph.

If the trail and lead values are 0, slide mode is disabled.

SlideDynamic "<On | Off>"When enabled, the graph displays only dynamic data points and hides the other data points.

This option is only available when "X" is not the time and Slide Mode is enabled.

FastAnimation "<On | Off>"Toggle if using fast animations.
Position "<Value>,<Value>,<Value>,<Value>"Enter two (x,y) positive integers to define the position of the graph, or enter four (x,y,w,h) positive integers to define the position and size of the graph.
Stat "< On | Off >"Show / Hide graph statistics
Show "<On | Off>"

Show/Hide the graphic element.

XAxisScale "<Standard | Logarithmic>"

Set scale used for X-axis. Default is Standard.

Logarithmic scale is only available when "X" is not the time and when all X values are greater than 0.

YAxisScale "<Standard | Logarithmic>"

Set scale used for Y-axis. Default is Standard.

Logarithmic scale is only available when all Y values are greater than 0.

ShowLegend "<On | Off>"

Show/Hide the graph legend.

LegendStyle "<OneLine>,<TwoLine><OneLineInside>"

Change the location of the graph legend. Note that for a Multigraph, OneLineInside displays a legend in each axis.

ShowBoxLegend "<On | Off>

Show/Hide the graph box legend.

BoxLegendLocation

The legend can be shown at: OutsideTop, OutsideLeft, OutsideRight, OutsideBottom, InsideTop, InsideLeft, InsideRight, InsideBottom

ShowContourLegend "<On | Off>"

Show/Hide the Contour Graph legend.

ContourLegendSize "<Value>"

Define the size of the contour legend. Acceptable values are 30-300, with 100 being the default value. For reference, a value of 30 will make the legend 1/3 smaller, whereas a value of 300 will make the legend 3x larger.

ContourLegendPosition "<Value>"

Define the position of the contour legend. This parameter accepts three integers. The first integer is the index of the graph sgement, and the second and third integers are the x,y position of the segment's contour legend. The index starts at one and the coordinates must be positive. The default position of the legend is 10 index of the graph segment. Therefore, if the index of the segment is 1, the default position will be (10,10).

ShowStatisticsTable "<On | Off>"

Show/Hide the Box and Whisker Statistics table. This table displays the Mean, Variance, Median, IQR (Interquartile Range), Min, and Max for the data element(s).

ShowStatisticsAnnot "<On | Off>"

Show/Hide Box and Whisker annotations.

Color may be entered using name, value or %rgb.

The format for specifying <DataElement> is: "[<SourceName> |] <ShortName>". If the <ShortName> is enough to identify the element then just enter that. Otherwise, include the <SourceName> followed by the | (bar), before the <ShortName>. Refer to examples of each below.

The Overlay will the line properties that are defined in the head of the file if not defined in the command. Values entered using the Overlay command will override values in the head of the file.

The following table describes the parameters for the Save and Delete options.

<Parameters>Description
File "<Filepath>"Enter the filepath for a graph to be saved to.
OverlaySummary "<Files>"Save individual overlay file names, or save all overlay file names.

The Refresh option is used to re-request the graph data and display it. It does not require any parameters other than Name and AnalysisObject.

Examples

A simple graph Latitude vs time

TE_Graph * Add Name "Graph1" AnalysisObject "AF385" GraphXY Segment Color "Pink" DataElement "Latitude" XIsTime

A graph with two lines of the same dimension limited to a certain time constraint

TE_Graph * Add Name "Graph2" AnalysisObject "AF385" GraphXY PointSize "Medium" Segment Color "-16181" Point "1.0" DataElement "Latitude,Longitude" Labels "Latitude,Longitude" Units "deg,deg" time constraint "run1"

Defining the pixel size of a track point.

TE_Graph * Points Name "Track2" PizelSize "4"

A simple multigraph of three lines vs time

TE_Graph * Add Name "Graph3" AnalysisObject "AF385" Multigraph Segment Color "Pink" DataElement "Latitude" Segment Color "green" Data element "Longitude" Segment color "blue" data element "Altitude" XIsTime

Creating a box and whisker graph plot

TE_Graph * Add Name "Graph1" AnalysisObject "AF385" BoxWhiskerVert Segment Color "Orange" DataElement "Latitude" Units "deg"

Creating a box and whisker graph plot with multiple segments

TE_Graph * Add Name "Graph1" AnalysisObject "AF385" BoxWhiskerVert Segment Color "Orange" DataElement "Latitude" Units "deg" Segment Color "Pink" DataElement "Longitude"

Creating a single element Box and Whisker plot graph with the Statistics Table and Annotations Displayed

TE_Graph * Add Name "AirTracksBW_StatsOff" AnalysisObject "Ownship1" BoxWhiskerVert Segment Color "Red" DataElement "Air Tracks - Radar.csv [Target1Track] | Range" ShowStatisticsTable "On" ShowStatisticsAnnot "On"'

Creating a histogram graph

TE_Graph * Name "Graph1" AnalysisObject "AF385" Histogram Segment Color "Purple" DataElement "Latitude" Units "deg" UseYFilter "On" YFilterLow "22" YFilterHigh "25" BinCount "6"

A graph using a color gradient, line style, and time step

TE_Graph * Add Name "Graph4" AnalysisObject "AF385" GraphXY Segment Gradient "Longitude, -2.3, -16181, -2.2, %255255000, -2.2, blue" Data element "Latitude" SegLineStyle "MediumDotLine" XIsTime Step "*/Aircraft/Target1"

A graph using scalar value, line style, and horizontal line

TE_Graph * Add Name "Graph5" AnalysisObject "AF385" GraphXY Segment Color "purple" dataelement "BodyAspectToTarget1" SegLineStyle "DashLine" XIsTIme HorizontalLine ".3, value at .3, orange"

A graph using an overlay

TE_Graph * Add Name "Graph6" AnalysisObject "AF385" GraphXY Segment Color "Pink" PointSize "Micro" DataElement "Latitude" Overlay "C:\temp\overlay.txt, darkgreen, Medium, 210, Green, 100"

A graph with Legend

TE_Graph * Add Name "Graph7" AnalysisObject "AF385" GraphXY Segment Color "Pink" PointSize "Micro" DataElement "Latitude" Segment Color Green DataElement "LongiTude" ShowLegend "On" LegendStyle "TwoLine"

A graph with Box Legend

TE_Graph * Add Name "Graph8" AnalysisObject "AF385" GraphXY Segment Color "Pink" PointSize "Micro" DataElement "Latitude" Segment Color Green DataElement "LongiTude" ShowBoxLegend "On" BoxLegendLocation "OutsideRight"

Adding and editing Annotations

TE_Graph * Add Name "Graph1" AnalysisObject "AF3_0385" GraphXY Segment Color "Red" DataElement "StateVector.Latitude" XisTime Annotation Type "Shape" Subtype "TriangleUp" Location "29 oct 2013 15:30, 0.62 rad" Color "orange" Thickness "small" Label "this is my shape" Placement "BottomCenter" fontsize "15"
TE_Graph * Add Name "Graph2" AnalysisObject "AF3_0385" MultiGraph Segment Color "Brown" DataElement "StateVector.Pitch" XisTime Annotation Type "Line" Subtype "Horizontal" Location "0.1 rad," Color "darkgreen" Thickness "large" Label "watch out" Placement "RightAbove" fontsize "16" Segment Color "Navy" DataElement "StateVector.Roll" Annotation Type "Line" Subtype "Horizontal2" Location "0.2 rad, 0.3 rad" Label "one\ntwo" Placement "LeftAbove" Placement2 "LeftBelow"
TE_Graph * Add Name "Graph3" AnalysisObject "AF3_0385" GraphXY Segment Color "Green" DataElement "StateVector.Longitude" XisTime Annotation Type "Span" Subtype "Horizontal" Location "29 oct 2015 15:10, -1.5 rad, 29 oct 2013 13:10" Color "red" Thickness "small" Label "start \n end" EndBar "20" ArrowTail "20" Placement "TopLeft" Placement2 "TopRight"
TE_Graph * Modify Name "Graph2" AnalysisObject "AF3_0385" MultiGraph Segment "2" Annotation "2" Type "Delete"
TE_Graph * Add Name "Graph17" AnalysisObject "AF3_0385" GraphXY Segment Color "Pink" DataElement "StateVector.Longitude, StateVector.Latitude" Annotation Type "Line" SubType "StraightLine" Location "0.61 rad, -2.04 rad, 0.62 rad, -2.05 rad" Color "red" Translucency "50" Thickness "small" LineStyle "Dash" Label "hope\nfaith"
TE_Graph * Add Name "Graph18" AnalysisObject "AF3_0385" GraphXY Segment Color "Purple" DataElement "StateVector.Longitude, StateVector.Latitude" Annotation Type "Line" SubType "Polyline" Location "0.61 rad, -2.04 rad, 0.62 rad, -2.05 rad, 0.65 rad, -2.07 rad, 0.67 rad, -2.09 rad" Color "Orange" LineStyle "Dot"
TE_Graph * Modify Name "Graph18" AnalysisObject "AF3_0385" GraphXY Segment "1" Color "red" Annotation "1"Type "Line" SubType "Polyline" Location "0.62 rad, -2.04 rad, 0.65 rad, -2.05 rad, 0.67 rad, -2.07 rad, 0.67 rad, -2.09 rad" ShowFit "ON" Color "green"
TE_Graph * Add Name "Graph19" AnalysisObject "AF3_0385" GraphXY Segment Color "Brown" DataElement "StateVector.Longitude, StateVector.Latitude" Annotation Type "Region" SubType "Box" Location "0.61 rad, -2.04 rad, 0.64 rad, -2.06 rad" Color "Green" Translucency "75" LineStyle "Solid"
TE_Graph * Add Name "Graph20" AnalysisObject "AF3_0385" GraphXY Segment Color "Black" DataElement "StateVector.Longitude, StateVector.Latitude" Annotation Type "Region" SubType "Polygon" Location "0.61 rad, -2.04 rad, 0.62 rad, -2.05 rad, 0.61 rad, -2.03 rad" Color "Blue" Fill "On"

Creating a regression line with annotations.

TE_Graph * Regression Name "Graph1" AnalysisObject "AF385" Segment "1" Color "Orange" ShowR "On" ShowEq "Off"

A multigraph with labels, units, animation line and connecting dots

TE_Graph * Add Name "Graph7" AnalysisObject "AF385" Multigraph Segment Color "red" data element "Latitude" Segment color "blue" data element "Longitude" Segment color "green" data element "altitude" XIsTime Labels "Lat,Lon,Alt" Units "deg,deg,km" AnimationLine "yellow" ConnectDots "ON"

A multigraph with labels, units when X is not time

TE_Graph * Add Name "Graph8" AnalysisObject "AF385" Multigraph Segment Color "red" data element "Latitude,AOA" Segment color "blue" data element "Longitude,AOA" Segment color "green" data element "altitude,AOA" Labels "Lat,Lon,Alt,Angle of Attack" Units "deg,deg,km,deg"

Saving a graph previously generated. (T&E 1.5)

TE_Graph * Save Name "Graph7" AnalysisObject "AF385" File "C:\temp\Graph7.png"

Creating a graph specifying SourceName and ShortName for various data elements:

TE_Graph * Add Name "Graph5" AnalysisObject "AF3_0385" GraphXY Segment Color "Yellow" DataElement "AF3_0385_MeasuredTracks_ID.csv [Track1] | NorthWestUp_X" XIsTime Segment Color "%255000000" DataElement "AF3_0385_MeasuredTracks_ID.csv [Track2] | NorthWestUp_X" XIsTime Segment Color "Blue" DataElement "AF3_0385_MeasuredTracks_ID.csv [Track3] | NorthWestUp_X" XIsTime

Creating a graph specifying the Below Color while also disabling the Above option:

TE_Graph * Add Name "Graph8" AnalysisObject "AF3_0385" GraphXY Segment Gradient "StateVector.Longitude, -2.1 rad, -16181, -119.175 deg, %255255000, -2.06, Green, -2.04, Blue" BelowColor "purple" Above "OFF" DataElement "StateVector.Latitude" XIsTime

Modifying a graph's segment color:

TE_Graph * Modify Name "Graph1" AnalysisObject "AF3_0385" Segment "1" Color "Brown"

Adding a .BMP image as a graph's background:

TE_Graph * Add Name "Graph1" AnalysisObject "AF3_0385" GraphXY Segment Color "Red" DataElement "Latitude" XIsTIme BackImage "C:\temp\god.bmp, center"

Defining a graph's background color:

TE_Graph * Add Name "Graph2" AnalysisObject "AF3_0385" GraphXY Segment Color "Dark Green" DataElement "Altitude" BackOutsideColor "Light Green" BackInsideColor "Light Green"

Creating a graph with RMS statistics

TE_Graph * Add Name "Graph2" AnalysisObject "AF3_0385" GraphXY Segment Color "Pink" DataElement "StateVector.AOA, StateVector.AOS" Stat "RMS, 0.01, rad, Blue"

Creating a graph with standard deviation

TE_Graph * Add Name "Graph3" AnalysisObject "AF3_0385" GraphXY Segment Color "Pink" DataElement "StateVector.AOA, StateVector.AOS" Stat "StdDev, 0.01, rad, Green"

Show a Contour Legend and define its size

TE_Graph * Add Name "Graph1" AnalysisObject "AF385" GraphXY Segment DataElement "Latitude" Gradient "Longitude, -2.1 rad, red, -119 deg, orange, -2.06 rad, green" XlsTime ShowContourLegend "on" ContourLegendSize "75"

Define the position of a Contour Legend

TE_Graph * Add Name "Graph2" AnalysisObject "AF385" GraphXY Segment DataElement "Latitude" Gradient "Latitude, 0.6 rad, red, 0.61 rad, yellow, 0.62 rad, green" XlsTime Segment DataElement "Longitude" Gradient "Longitude, -2.1 rad, green, -2.08 rad, yellowgreen, -2.06 rad, yellow" ContourLegendPosition "1,20,20" ContourLegendPosition "2,150,150"

Return message

Group membership

This command belongs to the following group(s):

T & E Toolkit

You can use TETK Connect commands in TETK scenarios for pre-flight planning, post-flight analysis, and to support analysis workflows.

You should not use TETK Connect commands when real-time propagators are creating STK vehicles and using STK features instantaneously. The use of Connect commands in a real-time application requires more computational power than STK can support.

TETK functionality that is commonly referred to as "real-time" is actually an offline analysis mode. In this mode, an STK/TETK scenario is prepared with data that is streamed to a particular time in a mission. The post-flight analysis can be prepared again on demand throughout the mission for the data for each time of request. You can use TETK Connect commands in these scenarios.

Version

12.2