NRAO Home > CASA > CASA Toolkit Reference Manual
sd.plotter.set_colors - Function

5.1.8 Set the colors to be used
Description

Set the colours to be used. The plotter will cycle through these colours when lines are overlaid (stacking mode).

Arguments





Inputs

colmap

A list of color names

allowed:

string

Default:

refresh

If True, the plot is replotted based on the new parameter setting(s)

allowed:

bool

Default:

True





Returns

Example

         sd.plotter.set_colors("red green blue")  
         # If for example four lines are overlaid e.g I Q U V  
         # ’I’ will be ’red’, ’Q’ will be ’green’, U will be ’blue’  
         # and ’V’ will be ’red’ again.


More information about CASA may be found at the CASA web page

Copyright 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search