Changeset 12
- Timestamp:
- 11/27/07 17:50:25 (16 years ago)
- Location:
- trunk/procs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/procs/com_eg.pro
r9 r12 12 12 ; attributs formats + div 13 13 ; 14 COMMON formats, look, free_1d_minmax, lat_axis, cont_fill, multi_win, atmos_msk, line_thick, line_style, line_color, title_type, fill_space, vector_sample, symbol_style, symbol_color, symbol_families, contour_options, mean_sc_only, nc_grids_list, cont_real 14 COMMON formats, look, free_1d_minmax, lat_axis, cont_fill, multi_win, atmos_msk, line_thick, line_style, line_color, title_type, fill_space, vector_sample, symbol_style, symbol_color, symbol_families, contour_options, mean_sc_only, nc_grids_list, cont_real, symbol_size 15 15 ; 16 16 ; attributs couleur -
trunk/procs/plt_map.pro
r2 r12 15 15 ; win = position of window (petit[,,,]) 16 16 ; iover = overlay index 17 IF debug_w THEN print, ' ' 18 IF debug_w THEN print, ' ENTER plt_map...' 17 19 ; 18 20 ; empty window case for on=2 … … 258 260 END 259 261 262 IF debug_w THEN print, ' cmd after data_read in plt_map = ', cmd 260 263 ; 261 264 ; ====================== … … 638 641 ; run specific fixes 639 642 640 IF (strpos(cmd.exp, 'MIMR') NE -1 OR strpos(cmd.exp, 'MIHR') NE -1) AND cmd.var EQ 'tauu' AND strpos(cmd.timave, '1m') NE -1 AND strpos(cmd.timave, '1mm') EQ -1 THEN BEGIN 641 fld = -fld 642 print, ' *** WARNING: Multiply tauu by -1 ', cmd.exp, cmd.var, cmd.timave 643 ENDIF 643 IF (strpos(cmd.exp, 'MIHR') NE -1) AND cmd.var EQ 'tauu' AND strpos(cmd.timave, '1m') NE -1 AND strpos(cmd.timave, '1mm') EQ -1 THEN BEGIN 644 fld = -fld 645 print, ' *** WARNING: Multiply tauu by -1 ', cmd.exp, cmd.var, cmd.timave 646 ENDIF 647 648 IF debug_w THEN print, ' cmd before making output in plt_map = ', cmd 644 649 645 650 … … 890 895 g = gphit 891 896 t = tmask 897 892 898 ; mask fld 893 899 mask_z, fld, cmd, boite_pltt, dimplot, legz … … 901 907 ELSE: rep_txt = '' 902 908 ENDCASE 909 903 910 print, ' '+cmd.var+' data to plot min and max : ', $ 904 911 min(fld(where (fld NE valmask))), max(fld(where (fld NE valmask))) … … 949 956 boxx = ' ['+boxx+']' 950 957 vargrid = vargrid1 951 IF debug_w THEN print, ' domdef and vargrid : ', boite_plt1d[0:3], vargrid958 IF debug_w THEN print, ' domdef and vargrid : ', boite_plt1d[0:3], vargrid 952 959 domdef, boite_plt1d[0:3] 953 960 print, ' Averaging (time serie plot) cmd.var '+cmd.var+' in'+boxx … … 963 970 IF sw_diffg EQ 1 THEN BEGIN 964 971 jptb = jpt 972 IF debug_w THEN print, ' calling def_grid, cmd2 dans plt_map ' 965 973 def_grid, cmd2 966 IF debug_w THEN print, 'def_grid, cmd2 dans plt_map '967 974 jpt = jptb 968 975 ENDIF … … 982 989 boxy = ' ['+boxy+']' 983 990 vargrid = vargrid2 984 IF debug_w THEN print, ' domdef and vargrid : ', boite_plt1d2[0:3], vargrid991 IF debug_w THEN print, ' domdef and vargrid : ', boite_plt1d2[0:3], vargrid 985 992 domdef, boite_plt1d2[0:3] 986 993 print, ' Averaging (time serie plot) cmd2.var '+cmd2.var+' in'+boxy 987 IF debug_w THEN print, ' fldsize', size(fld2)994 IF debug_w THEN print, ' fld2 size', size(fld2) 988 995 fld2 = checkfield(fld2, 'plt1d', type = datyp2.hotyp, direc = 'xy', boite = boite_plt1d2, /timearray) 989 996 IF cmd2.trend GT 0 THEN BEGIN … … 996 1003 sw_diffg = 0 997 1004 jptb = jpt 1005 IF debug_w THEN print, ' calling def_grid, cmd dans plt_map ' 998 1006 def_grid, cmd 999 IF debug_w THEN print, 'def_grid, cmd dans plt_map '1000 1007 jpt = jptb 1001 1008 ENDIF … … 1046 1053 ; print, ' Period '+strtrim(string(ic), 2)+' Linear fit slope, chisq, prob =', coeff(1)*1000., errlin*1000., prblin 1047 1054 IF mean_sc_only EQ 0 THEN BEGIN 1048 pltcmd = 'pltsc,fldp,fldp2,minc,maxc,minc2,maxc2,varlegend2, boite=boxyfx'+com_strplt+',ov1d='+string(ic)+',COLOR='+string(symbol_color(ic))+', STY1D='+string(symbol_style(ic)-1) 1055 pltcmd = 'pltsc,fldp,fldp2,minc,maxc,minc2,maxc2,varlegend2, boite=boxyfx'+com_strplt+',ov1d='+string(ic)+',COLOR='+string(symbol_color(ic))+', STY1D='+string(symbol_style(ic)-1)+', SYMSIZE='+string(symbol_size) 1049 1056 printf, nulhis, strcompress(pltcmd) 1050 IF debug_w THEN print, pltcmd1057 IF debug_w THEN print, ' ',pltcmd 1051 1058 res = execute(pltcmd) 1052 1059 ENDIF … … 1064 1071 1065 1072 printf, nulhis, strcompress(pltcmd) 1066 IF debug_w THEN print, pltcmd1073 IF debug_w THEN print, ' ', pltcmd 1067 1074 res = execute(pltcmd) 1068 1075 pltcmd = 'pltt,(lincoef-linerro)*1000., '''+hotyp+''''+minmax+com_strplt+',ov1d=1,COLOR=1, thick=1, STY1D=0' 1069 1076 printf, nulhis, strcompress(pltcmd) 1070 IF debug_w THEN print, pltcmd1077 IF debug_w THEN print, ' ',pltcmd 1071 1078 res = execute(pltcmd) 1072 1079 pltcmd = 'pltt,(lincoef+linerro)*1000., '''+hotyp+''''+minmax+com_strplt+',ov1d=1,COLOR=1, thick=1, STY1D=0' 1073 1080 printf, nulhis, strcompress(pltcmd) 1074 IF debug_w THEN print, pltcmd1081 IF debug_w THEN print, ' ',pltcmd 1075 1082 res = execute(pltcmd) 1076 1083 ENDIF … … 1078 1085 ENDWHILE 1079 1086 ENDIF ELSE BEGIN ; one color 1080 IF debug_w THEN print, pltcmdstd1087 IF debug_w THEN print, ' ',pltcmdstd 1081 1088 res = execute(pltcmdstd(0)) 1082 1089 ENDELSE 1083 1090 ENDIF 1084 1091 ENDIF ELSE BEGIN ; standard scatter plot 1085 IF debug_w THEN print, pltcmdstd1092 IF debug_w THEN print, ' ',pltcmdstd 1086 1093 res = execute(pltcmdstd(0)) 1087 1094 ENDELSE … … 1119 1126 stdsc = [stat.sc_std, stat.sc_std(0)] 1120 1127 stdsc2 = [stat2.sc_std, stat2.sc_std(0)] 1121 pltcmd = 'pltsc,stdsc,stdsc2,0. ,maxc,0.,maxc2,varlegend2, boite=boxyfx'+com_strplt+',ov1d=1-min(1,sw_ov1d), STY1D=-1, THICKN= 5, SYMSIZE=1, FRACTION=fraction'1128 pltcmd = 'pltsc,stdsc,stdsc2,0. ,maxc,0.,maxc2,varlegend2, boite=boxyfx'+com_strplt+',ov1d=1-min(1,sw_ov1d), STY1D=-1, THICKN=3, SYMSIZE='+string(symbol_size)+', FRACTION=fraction' 1122 1129 printf, nulhis, strcompress(pltcmd) 1123 1130 IF debug_w THEN print, pltcmd … … 1130 1137 ov1d_val = 0 1131 1138 IF mean_sc_only EQ 0 THEN ov1d_val = 1 1132 pltcmd = 'pltsc,fldrem_t1,fldrem_t2,minc,maxc,minc2,maxc2,varlegend2, boite=boxyfx'+com_strplt+',ov1d=ov1d_val, STY1D=-1, THICKN=5, SYMSIZE= 1, FRACTION=fraction'1139 pltcmd = 'pltsc,fldrem_t1,fldrem_t2,minc,maxc,minc2,maxc2,varlegend2, boite=boxyfx'+com_strplt+',ov1d=ov1d_val, STY1D=-1, THICKN=5, SYMSIZE='+string(symbol_size)+', FRACTION=fraction' 1133 1140 printf, nulhis, strcompress(pltcmd) 1134 1141 IF debug_w THEN print, pltcmd … … 1356 1363 1357 1364 ENDIF 1365 IF debug_w THEN print, ' ...EXIT plt_map' 1358 1366 1359 1367 END
Note: See TracChangeset
for help on using the changeset viewer.