|
|||
NRAO Home > CASA > CASA Cookbook and User Reference Manual |
|
3.3.2.6 The plotsymbol parameter
The plotsymbol parameter defines both the line or symbol for the data being drawn as well as the color; from the matplotlib online documentation (e.g., type pl.plot? for help):
- : solid line
-- : dashed line
-. : dash-dot line
: : dotted line
. : points
, : pixels
o : circle symbols
^ : triangle up symbols
v : triangle down symbols
< : triangle left symbols
> : triangle right symbols
s : square symbols
+ : plus symbols
x : cross symbols
D : diamond symbols
d : thin diamond symbols
1 : tripod down symbols
2 : tripod up symbols
3 : tripod left symbols
4 : tripod right symbols
h : hexagon symbols
H : rotated hexagon symbols
p : pentagon symbols
| : vertical line symbols
_ : horizontal line symbols
steps : use gnuplot style ’steps’ # kwarg only
The following color abbreviations are supported
b : blue
g : green
r : red
c : cyan
m : magenta
y : yellow
k : black
w : white
In addition, you can specify colors in many weird and
wonderful ways, including full names ’green’, hex strings
’#008000’, RGB or RGBA tuples (0,1,0,1) or grayscale
intensities as a string ’0.8’.
Line styles and colors are combined in a single format string, as in
’bo’ for blue circles.
More information about CASA may be found at the
CASA web page
Copyright © 2010 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