Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: 14 December 2016

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: 14 December 2016
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:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.