Last modified: 12 December 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.