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

5.1.8 Set the linestyles to be used
Description

Set the linestyles to be used. The plotter will cycle through these linestyles when lines are overlaid (stacking mode) AND only one color has been set.

Accepted linestyles are ’line’, ’dashed’, ’dotted’, ’dashdot’, ’dashdotdot’ and ’dashdashdot’.

Arguments





Inputs

linestyles

A list of linestyles to use

allowed:

string array

Default:

None

linewidth

A width of the line

allowed:

integer

Default:

None

refresh

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

allowed:

bool

Default:

True





Returns

Example

         sd.plotter.set_colors("black")  
         sd.plotter.set_linestyles("line dashed dotted dashdot")  
         # If for example four lines are overlaid e.g I Q U V  
         # ’I’ will be ’solid’, ’Q’ will be ’dashed’,  
         # U will be ’dotted’ and ’V’ will be ’dashdot’.


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