KPG1_ASSTS

Applies an attribute setting to a Plot

Description:

This routine applies the supplied attribute setting to the supplied Plot. The attribute setting should be of the form " name=value" where " name" is an AST attribute name or a synonym for an AST attribute name established by a call to KPG1_ASPSY, and " value" is the value to assign to the attribute. If the attribute name contains either COLOR or COLOUR then the value string is checked to see if it is the name of a colour, and if so, the corresponding colour index is used instead. The resulting setting, after translation of synonyms and colour names is applied to the supplied Plot. If the Plot already has a set value for the specified attribute, then the behaviour depends on OVER; if OVER is .TRUE. then the new attribute value over-writes the value already in the Plot; if OVER is .FALSE. then the supplied setting is ignored.

Invocation

CALL KPG1_ASSTS( SETTNG, REPORT, OVER, IPLOT, BADAT, STATUS )

Arguments

SETTING = CHARACTER ( ) (Given)
The attribute setting string.
REPORT = LOGICAL (Given)
Should an error be reported if the attribute setting string is not legal?
OVER = LOGICAL (Given)
Over-write existing attribute values in the Plot?
IPLOT = INTEGER (Given)
An AST pointer to the Plot to be modified.
BADAT = LOGICAL (Returned)
Was the setting string invalid? If so, an appropriate error message will have been reported (unless REPORT is .FALSE.).
STATUS = INTEGER (Given and Returned)
The global status.

Notes: