source: lmdz_wrf/trunk/tools/documentation/plotting/points_lonlat.html @ 1559

Last change on this file since 1559 was 1478, checked in by lfita, 8 years ago

Adding documentation of `points_lonlat'

File size: 2.7 KB
Line 
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    &nbsp;&nbsp;filen= name of the file<BR>
22    &nbsp;&nbsp;values= [lonvarname]:[latvarname]:[gkind]:[gtit]:[ptcolor]:[pttype]:[ptsize]:[labels]:[legvals]:[figureK]:<BR>
23    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[figclose]<BR>
24    &nbsp;&nbsp;&nbsp;&nbsp;[lonvarname]: name of the variable longitude<BR>
25    &nbsp;&nbsp;&nbsp;&nbsp;[latvarname]: name of the variable latitude<BR>
26    &nbsp;&nbsp;&nbsp;&nbsp;[gkind]: kind of graphical output<BR>
27    &nbsp;&nbsp;&nbsp;&nbsp;[gtit]: graphic title '!' for spaces<BR>
28    &nbsp;&nbsp;&nbsp;&nbsp;[ptcolor]: color of the points ('auto', for "red")<BR>
29    &nbsp;&nbsp;&nbsp;&nbsp;[pttype]: type of point<BR>
30    &nbsp;&nbsp;&nbsp;&nbsp;[ptsize]: size of point<BR>
31    &nbsp;&nbsp;&nbsp;&nbsp;[labels]: ',' list of labels to use<BR>
32    &nbsp;&nbsp;&nbsp;&nbsp;[legvals]=[locleg]|[fontsize]: <BR>
33    &nbsp;&nbsp;&nbsp;&nbsp;[locleg]: location of the legend (0, autmoatic)<BR>
34    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR>
35    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR>
36    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9: 'upper center', 10: 'center'<BR>
37    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[fontsize]: font size for the legend (auto for 12)<BR>
38    &nbsp;&nbsp;&nbsp;&nbsp;[figureK]= kind of figure<BR>
39    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'legend': only points in the map with the legend with the names<BR>
40    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'labelled',[txtsize],[txtcol]: points with the names and size, color of text<BR>
41    &nbsp;&nbsp;&nbsp;&nbsp;[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
Note: See TracBrowser for help on using the repository browser.