KPG1_CPSTY

Copies the plotting style for an AST element to another AST element

Description:

This routine copies the AST attributes which determine the colour, style, width, font and size. If IN is non-blank, then the attributes are copied from the element given by IN, to the element given by OUT–the original values of these attributes for element OUT are returned in ATTRS. If IN is blank, then the values supplied in ATTRS are copied to the element given by OUT– the original values of these attributes for element OUT are again returned in ATTRS.

Invocation

CALL KPG1_CPSTY( IPLOT, IN, OUT, ATTRS, STATUS )

Arguments

IPLOT = INTEGER (Given)
The AST Plot.
IN = CHARACTER ( ) (Returned)
The name of the source element (e.g. " CURVES" , " AXIS1" ), or blank.
OUT = CHARACTER ( ) (Returned)
The name of the destination element (e.g. " CURVES" , " AXIS1" ).
ATTRS( 5 ) = REAL (Given and Returned)
The entry values are ignored unless IN is blank, in which case the entry values should be the colour, width, style, size and font attribute values to associate with element OUT. On exit, the original colour, width, style, size and font attribute values associated with element OUT.
STATUS = INTEGER (Given and Returned)
The global status.