1 | pro polar_w |
---|
2 | ; |
---|
3 | ; |
---|
4 | ; |
---|
5 | what_I_plot=0. |
---|
6 | overcontour=0. |
---|
7 | hem = -1. |
---|
8 | @polar_inc_w.pro |
---|
9 | SPAWN, '\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 | ; |
---|
21 | getcdf, file=filename, charvar=cfield1, invar=field1 |
---|
22 | getcdf, file=filename, charvar=cfield2, invar=field2 |
---|
23 | ;getcdf, file=filename, charvar=cfield3, invar=field3 |
---|
24 | getcdf, file=filename, charvar='XLONG', invar=longi |
---|
25 | getcdf, 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. |
---|
41 | map_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 | ; |
---|
45 | what_I_plot = reform(field1(*,*,nlevel,ntime)) |
---|
46 | overcontour = reform(field2(*,*,ntime)) |
---|
47 | ;overcontour = 0. |
---|
48 | lon = reform(longi(*,*,ntime)) |
---|
49 | lat = reform(lati(*,*,ntime)) |
---|
50 | overvector_x=0. |
---|
51 | overvector_y=0. |
---|
52 | ; |
---|
53 | ; |
---|
54 | ; |
---|
55 | map_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 | ; |
---|
83 | loadct, 0 |
---|
84 | MAP_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 | ;; |
---|
96 | PS_End, /PNG |
---|
97 | end |
---|