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 | Nlines |
---|
11 | </DIV> |
---|
12 | <DIV CLASS="valimg"> |
---|
13 | Plotting a series of multiples 1D curves which share one dimension |
---|
14 | <IMG WIDTH="100%" SRC="figs/Nlines_hurs_wrfout_tturb-xmean-last.png"></IMG> |
---|
15 | </DIV> |
---|
16 | <DIV CLASS="valhelp"> |
---|
17 | draw_lines(ncfilens, values, varname):<BR> |
---|
18 | ncfilens= [filen] ',' separated list of netCDF files<BR> |
---|
19 | values= [dimvname]:[valuesaxis]:[dimtit]:[dimxyfmt]:[vrange]:[leglabels]:[vtit]:[title]:[legvals]:[colns]:[lines]<BR> |
---|
20 | [points]:[lwdths]:[psizes]:[freqv]:[figname]:[graphk]:[close]<BR> |
---|
21 | [dimvname]: ',' list of names of the variable with he values of the common dimension<BR> |
---|
22 | [valuesaxis]: which axis will be used for the values ('x', or 'y')<BR> |
---|
23 | [dimtit]: title for the common dimension<BR> |
---|
24 | [dimxyfmt]=[dxs],[dxf],[Ndx],[ordx],[dys],[dyf],[Ndy],[ordx]: format of the values at each axis (or 'auto')<BR> |
---|
25 | [dxs]: style of x-axis ('auto' for 'pretty')<BR> |
---|
26 | 'Nfix', values computed at even 'Ndx'<BR> |
---|
27 | 'Vfix', values computed at even 'Ndx' increments<BR> |
---|
28 | 'pretty', values computed following aprox. 'Ndx' at 'pretty' intervals (2.,2.5,4,5,10)<BR> |
---|
29 | [dxf]: format of the labels at the x-axis ('auto' for '%5g')<BR> |
---|
30 | [Ndx]: Number of ticks at the x-axis ('auto' for 5)<BR> |
---|
31 | [ordx]: angle of orientation of ticks at the x-axis ('auto' for horizontal)<BR> |
---|
32 | [dys]: style of y-axis ('auto' for 'pretty')<BR> |
---|
33 | [dyf]: format of the labels at the y-axis ('auto' for '%5g')<BR> |
---|
34 | [Ndy]: Number of ticks at the y-axis ('auto' for 5)<BR> |
---|
35 | [ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)<BR> |
---|
36 | [vrange]=[ymin],[ymax] range for the plot ('auto' for current range of values) |
---|
37 | [leglabels]: ',' separated list of names for the legend ('!' for spaces, '*' for no label)<BR> |
---|
38 | [vartit]: name of the variable in the graph<BR> |
---|
39 | [title]: title of the plot ('|' for spaces)<BR> |
---|
40 | [legvals]=[locleg]|[fontsize]: <BR> |
---|
41 | [locleg]: location of the legend (0, autmoatic)<BR> |
---|
42 | 1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',<BR> |
---|
43 | 5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',<BR> |
---|
44 | 9: 'upper center', 10: 'center'<BR> |
---|
45 | [fontsize]: font size for the legend (auto for 12)<BR> |
---|
46 | [colns]= ',' list of color names ('None' for automatic, single value for all the same)<BR> |
---|
47 | [lines]= ',' list of style of lines ('None' for automatic, single value for all the same)<BR> |
---|
48 | [points]= '@' list of style of points ('None' for automatic, single value for all the same)<BR> |
---|
49 | [lwdths]= ',' list of withs of lines ('None' for automatic, single value for all the same)<BR> |
---|
50 | [psizes]= ',' list of size of points ('None' for automatic, single value for all the same)<BR> |
---|
51 | [freqv]= frequency of values ('all' for all values)<BR> |
---|
52 | [figname]= name of the figure<BR> |
---|
53 | [graphk]: kind of the graphic<BR> |
---|
54 | [close]: should figure be closed (finished)<BR> |
---|
55 | varname= variable to plot<BR> |
---|
56 | </DIV> |
---|
57 | <DIV CLASS="valins"> |
---|
58 | $ python ${pyHOME}/drawing.py -f WRF/current/hurs_wrfout_tturb_xmean_last.nc,WRF/micro1/hurs_wrfout_tturb_xmean_last.nc,WRF/micro2/hurs_wrfout_tturb_xmean_last.nc,WRF_LMDZ/AR40/hurs_wrfout_tturb_xmean_last.nc,WRF_LMDZ/NPv31/hurs_wrfout_tturb_xmean_last.nc,LMDZ/AR40/hurs_reproj-histins_tturb_xmean_last.nc,LMDZ/NPv31/hurs_reproj-histins_tturb_xmean_last.nc -o draw_lines -S 'lat:x:lat ($degrees\ North$):auto:auto:wcurr,wmp1,wmp2,wlmdza,wlmdzb,lmdza,lmdzb:hurs:all model-experiments meridional hurs$_{[tturb\ xmean\ last]}$:0|auto:None:-:,:2.:2.:all:Nlines_hurs_wrfout_tturb-xmean-last:png:True' -v hursturbmean |
---|
59 | </DIV> |
---|
60 | </BODY> |
---|
61 | </HTML> |
---|
62 | |
---|