source: trunk/mesoscale/PLOT/SPEC/POLAR/polar_w.pro @ 85

Last change on this file since 85 was 85, checked in by aslmd, 14 years ago

LMD_MM_MARS et LMD_LES_MARS: ajout des routines IDL pour tracer les sorties --> voir mesoscale/PLOT

File size: 2.6 KB
Line 
1pro polar_w
2;
3;
4;
5what_I_plot=0.
6overcontour=0.
7hem = -1.
8@polar_inc_w.pro
9SPAWN, '\rm param_plot.idl ; cp polar_inc_w.pro param_plot.idl'
10;
11;
12;
13  zefile=save_ps
14  PS_Start, filename=zefile+'.ps'
15  print, zefile+'.ps'
16  ;!p.multi=[0,2,2]
17  ;!P.Charsize = 0.6
18;
19;
20;
21getcdf, file=filename, charvar=cfield1, invar=field1
22getcdf, file=filename, charvar=cfield2, invar=field2
23;getcdf, file=filename, charvar=cfield3, invar=field3
24getcdf, file=filename, charvar='XLONG', invar=longi
25getcdf, file=filename, charvar='XLAT', invar=lati
26;
27;
28;
29
30;zefile=save_ps+string(100+ntime,'(I0)')
31;PS_Start, filename=zefile+'.ps'
32;!P.Charsize = 1.2
33;!p.charthick = 2.0
34;!p.thick = 2.0
35;!x.thick = 2.0
36;!y.thick = 2.0
37;
38;
39;
40        ;latmin = -90. & latmax = 10.0 & lonmin = -180. & lonmax = 180.
41map_set, hem*90., 0., /isotropic, /azimuthal, /noborder, limit=[latmin,lonmin,latmax,lonmax],title=title_user,/advance ;, position=[0.10, 0.12, 0.90, 0.92]
42;
43;
44;
45what_I_plot = reform(field1(*,*,nlevel,ntime))
46overcontour = reform(field2(*,*,ntime))
47;overcontour = 0.
48lon = reform(longi(*,*,ntime))
49lat = reform(lati(*,*,ntime))
50overvector_x=0.
51overvector_y=0.
52;
53;
54;
55map_latlon, $
56        what_I_plot, $                          ; 2D field
57        lon, $                                  ; 1D latitude
58        lat, $                                  ; 1D longitude
59        minfield=minfield_init, $               ; minimum value of plotted field (=0: calculate)
60        maxfield=maxfield_init, $               ; maximum value of plotted field (=0: calculate)
61        overcontour=overcontour, $              ; another 2D field to overplot with contour lines (=0: no)
62        overvector_x=overvector_x, $            ; wind vector - x component (=0: no)
63        overvector_y=overvector_y, $            ; wind vector - y component (=0: no)
64        ct=pal, $                               ; color table (33-rainbow is default)
65        colors=colors, $                        ; number of colors/levels (32 is default)
66        title=title_user, $                     ; title of the plot ('' is default)
67        format=format                           ; format of colorbar annotations ('(F6.2)' is default)
68;;
69;;
70;;
71;loadct, 0
72;contour, reform(field3(*,*,ntime)), $
73;       lon,lat, $
74;        /overplot, $
75;       levels=[1,100,200], $
76;       c_labels=[0,0,0], $
77;        c_thick=1.5, $
78;       color=255
79
80;
81;
82;
83loadct, 0
84MAP_GRID, CHARSIZE = 0.8, $
85          COLOR    = 0,   $
86          LABEL    = 1,   $   ;(one label any 1 grid lines)
87          LATDEL   = 02., $
88          LONDEL   = 45., $
89          ;lats=-60, $
90          GLINESTYLE = 1, $
91          GLINETHICK = 0.1, $
92          LONLAB   = -77., $
93          LATLAB   = 180.
94;;
95;;
96PS_End, /PNG
97end
Note: See TracBrowser for help on using the repository browser.