[1478] | 1 | <HTML> |
---|
| 2 | <HEAD> |
---|
| 3 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"/> |
---|
| 4 | <LINK REL="stylesheet" TYPE="text/css" HREF="../PyNCplot.css"/> |
---|
| 5 | </HEAD> |
---|
| 6 | |
---|
| 7 | </HEAD> |
---|
| 8 | <BODY> |
---|
| 9 | <DIV CLASS="valheader"> |
---|
| 10 | plot lon/lat points |
---|
| 11 | </DIV> |
---|
| 12 | <DIV CLASS="valimg"> |
---|
| 13 | Plotting lon/lat point values |
---|
| 14 | <TABLE> |
---|
| 15 | <TR><TD><IMG WIDTH="100%" SRC="figs/points_lonlat_5k.png"></IMG></TD></TR> |
---|
| 16 | <TR><TD><IMG WIDTH="100%" SRC="figs/points_lonlat_hurs-tas.png"></IMG></TD></TR> |
---|
| 17 | </TABLE> |
---|
| 18 | </DIV> |
---|
| 19 | <DIV CLASS="valhelp"> |
---|
| 20 | draw_points_lonlat(filen, values)<BR> |
---|
| 21 | filen= name of the file<BR> |
---|
| 22 | values= [lonvarname]:[latvarname]:[gkind]:[gtit]:[ptcolor]:[pttype]:[ptsize]:[labels]:[legvals]:[figureK]:<BR> |
---|
| 23 | [figclose]<BR> |
---|
| 24 | [lonvarname]: name of the variable longitude<BR> |
---|
| 25 | [latvarname]: name of the variable latitude<BR> |
---|
| 26 | [gkind]: kind of graphical output<BR> |
---|
| 27 | [gtit]: graphic title '!' for spaces<BR> |
---|
| 28 | [ptcolor]: color of the points ('auto', for "red")<BR> |
---|
| 29 | [pttype]: type of point<BR> |
---|
| 30 | [ptsize]: size of point<BR> |
---|
| 31 | [labels]: ',' list of labels to use<BR> |
---|
| 32 | [legvals]=[locleg]|[fontsize]: <BR> |
---|
| 33 | [locleg]: location of the legend (0, autmoatic)<BR> |
---|
| 34 | 1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR> |
---|
| 35 | 5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR> |
---|
| 36 | 9: 'upper center', 10: 'center'<BR> |
---|
| 37 | [fontsize]: font size for the legend (auto for 12)<BR> |
---|
| 38 | [figureK]= kind of figure<BR> |
---|
| 39 | 'legend': only points in the map with the legend with the names<BR> |
---|
| 40 | 'labelled',[txtsize],[txtcol]: points with the names and size, color of text<BR> |
---|
| 41 | [figclose]: whether figures should be closed or not |
---|
| 42 | </DIV> |
---|
| 43 | <DIV CLASS="valins"> |
---|
| 44 | $ python ${pyHOME}/drawing.py -o draw_points_lonlat -f carteveg5km.nc -S 'longitude:latitude:png:points!ORCHIDEE!cartevege5km!file:green:.:0.005:None:0|8:legend:yes' <BR> |
---|
| 45 | $ python drawing.py -o draw_points_lonlat -f ~/PY/wrfout_d01_1995-01-01_00\:00\:00 -S 'Q2:T2:png:WRF!scatter!plot!between!hurs!&!tas!(LUPA):auto:x:2.:None:0|10:legend:True' |
---|
| 46 | </DIV> |
---|
| 47 | </BODY> |
---|
| 48 | </HTML> |
---|
| 49 | |
---|