Chandra X-Ray Observatory
Skip to the navigation links
Last modified: 13 April 2018

How do I change all the elements of an object to the same color?

A number of objects have multiple color fields - e.g. a curve has symbol.color, line.color, and err.color whilst axes have seven such fields - which can all be set using the attribute name "*.color". Examples include:

chips> set_curve(["*.color", "green"])
chips> set_axis(["*.color", "cyan"])

This can be used with any name.value pair - e.g. *.size - but for many combinations it will not make sense if the attribute has different ranges for different name elements, such as *.style for an axis.

Last modified: 13 April 2018
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.