" attribute_1 = value_1, attribute_2 = value_2, ...
" specifies an attribute name, and the value to the right of
" sign should be a suitable textual representation of the value to be
assigned. This value will be interpreted according to the attribute
’ s data
The string supplied may also contain
" -style format specifiers,
" signs in the usual way. If present, these will be substituted
by values supplied as additional optional arguments (using the normal
" rules) before the string is used.
"-style format specifiers that appear in the
"to the value 1 and the Zoom attribute to 25.0.
"Label( %d ) =Offset along axis %d
", axis, axis );
"to a suitable string, where the axis number is obtained from
", a variable of type int.
", mystring );
"to the contents of the string
Attribute names are not case sensitive and may be surrounded by white space.
White space may also surround attribute values, where it will generally be ignored (except for string-valued attributes where it is significant and forms part of the value to be assigned).
To include a literal comma in the value assigned to an attribute, the whole attribute
value should be enclosed in quotation markes. Alternatively, you can use
and supply the value as a separate additional argument to astSet (or use the astSetC
The same procedure may be adopted if
" signs are to be included and are not to be
interpreted as format specifiers (alternatively, the
" convention of writing
" may be used).
An error will result if an attempt is made to set a value for a read-only attribute.