Description | Example | Return message | Group

Graphics SetColor

Set the color of a label, marker, ground track, swath or polygon of an object

Syntax

Graphics <ObjectPath> SetColor {Color} [{Item}]

Description

The Graphics SetColor command is used to identify the {Color} to be used for displaying an object's label and marker and other graphics items. For valid {Color} options see Common Options.

{Item} identifies the type of graphic whose color is to be changed. The following table descibes the valid {Item} values for each object type:

Object{Item}
Satellite, Aircraft, Missile, Launch VehicleLabel, Marker, GroundTrack, Swath
Ship, Ground VehicleLabel, Marker, GroundTrack
Facility, Place, TargetLabel, Marker
Area TargetLabel, Marker, Polygon
StarLabel, Marker
PlanetLabel, Marker, Orbit

The planet's orbit will only be visible in certain 2d projections.

SensorN/A

If you don't specify an {Item}, the color is changed for all of the object's graphics.

If an icon has been specified as the Marker type, then this command with the Marker {Item} has no effect.

Examples

To change the color of the marker for the Shuttle to yellow:

Graphics */Satellite/Shuttle SetColor 4 Marker

To change the color of the sensor footprint:

Graphics */Satellite/Shuttle/Sensor/Tracker SetColor red

To change the color of the planet label:

Graphics */Planet/Jupiter SetColor %255000255 Label

Return message

Group membership

This command belongs to the following group(s):

Area Targets

Facilities, Places & Targets

2D Object Graphics

Line Targets

Sensors

Stars & Planets

Vehicles

Version

10