Changeset 12


Ignore:
Timestamp:
11/27/07 17:50:25 (16 years ago)
Author:
kolasinski
Message:

Variable symbol_size added in com_eg and plt_map

Location:
trunk/procs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/procs/com_eg.pro

    r9 r12  
    1212; attributs formats + div 
    1313; 
    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 
     14COMMON 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 
    1515; 
    1616; attributs couleur 
  • trunk/procs/plt_map.pro

    r2 r12  
    1515; win   = position of window (petit[,,,]) 
    1616; iover = overlay index 
     17   IF debug_w THEN print, ' ' 
     18   IF debug_w THEN print, '  ENTER plt_map...' 
    1719; 
    1820; empty window case for on=2 
     
    258260   END  
    259261 
     262   IF debug_w THEN print, '   cmd after data_read in plt_map = ', cmd 
    260263; 
    261264; ====================== 
     
    638641; run specific fixes 
    639642 
    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 
    644649 
    645650 
     
    890895               g = gphit 
    891896               t = tmask 
     897 
    892898            ; mask fld 
    893899               mask_z, fld, cmd, boite_pltt, dimplot, legz 
     
    901907                  ELSE: rep_txt = '' 
    902908               ENDCASE  
     909 
    903910               print, '     '+cmd.var+' data to plot min and max :            ', $ 
    904911                min(fld(where (fld NE valmask))), max(fld(where (fld NE valmask))) 
     
    949956                  boxx = ' ['+boxx+']' 
    950957                  vargrid = vargrid1 
    951                   IF debug_w THEN print, 'domdef and vargrid : ',  boite_plt1d[0:3], vargrid 
     958                  IF debug_w THEN print, '   domdef and vargrid : ',  boite_plt1d[0:3], vargrid 
    952959                  domdef, boite_plt1d[0:3] 
    953960                  print, '   Averaging (time serie plot) cmd.var '+cmd.var+' in'+boxx 
     
    963970               IF sw_diffg EQ 1 THEN BEGIN 
    964971                  jptb = jpt 
     972                  IF debug_w THEN print,  '    calling def_grid, cmd2 dans plt_map ' 
    965973                  def_grid, cmd2 
    966                   IF debug_w THEN print,  'def_grid, cmd2 dans plt_map ' 
    967974                  jpt = jptb 
    968975               ENDIF  
     
    982989                  boxy = ' ['+boxy+']' 
    983990                  vargrid = vargrid2 
    984                   IF debug_w THEN print, 'domdef and vargrid : ',  boite_plt1d2[0:3], vargrid 
     991                  IF debug_w THEN print, '    domdef and vargrid : ',  boite_plt1d2[0:3], vargrid 
    985992                  domdef, boite_plt1d2[0:3] 
    986993                  print, '   Averaging  (time serie plot) cmd2.var '+cmd2.var+' in'+boxy 
    987                   IF debug_w THEN print, 'fld size', size(fld2)   
     994                  IF debug_w THEN print, '    fld2 size', size(fld2)   
    988995                  fld2 = checkfield(fld2, 'plt1d', type = datyp2.hotyp, direc = 'xy', boite = boite_plt1d2, /timearray) 
    989996                  IF cmd2.trend GT 0 THEN BEGIN 
     
    9961003                  sw_diffg = 0 
    9971004                  jptb = jpt 
     1005                  IF debug_w THEN print,  '   calling def_grid, cmd dans plt_map ' 
    9981006                  def_grid, cmd 
    999                   IF debug_w THEN print,  'def_grid, cmd dans plt_map ' 
    10001007                  jpt = jptb 
    10011008               ENDIF  
     
    10461053                      ;    print, '     Period '+strtrim(string(ic), 2)+' Linear fit slope, chisq, prob =', coeff(1)*1000., errlin*1000., prblin 
    10471054                           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) 
    10491056                              printf, nulhis, strcompress(pltcmd) 
    1050                               IF debug_w THEN print, pltcmd 
     1057                              IF debug_w THEN print, '   ',pltcmd 
    10511058                              res = execute(pltcmd) 
    10521059                           ENDIF  
     
    10641071 
    10651072                              printf, nulhis, strcompress(pltcmd) 
    1066                               IF debug_w THEN print, pltcmd 
     1073                              IF debug_w THEN print, '   ', pltcmd 
    10671074                              res = execute(pltcmd)       
    10681075                              pltcmd = 'pltt,(lincoef-linerro)*1000., '''+hotyp+''''+minmax+com_strplt+',ov1d=1,COLOR=1, thick=1, STY1D=0' 
    10691076                              printf, nulhis, strcompress(pltcmd) 
    1070                               IF debug_w THEN print, pltcmd 
     1077                              IF debug_w THEN print, '   ',pltcmd 
    10711078                              res = execute(pltcmd) 
    10721079                              pltcmd = 'pltt,(lincoef+linerro)*1000., '''+hotyp+''''+minmax+com_strplt+',ov1d=1,COLOR=1, thick=1, STY1D=0' 
    10731080                              printf, nulhis, strcompress(pltcmd) 
    1074                               IF debug_w THEN print, pltcmd 
     1081                              IF debug_w THEN print, '   ',pltcmd 
    10751082                              res = execute(pltcmd) 
    10761083                           ENDIF  
     
    10781085                        ENDWHILE  
    10791086                     ENDIF ELSE BEGIN ; one color 
    1080                         IF debug_w THEN print, pltcmdstd 
     1087                        IF debug_w THEN print, '   ',pltcmdstd 
    10811088                        res = execute(pltcmdstd(0)) 
    10821089                     ENDELSE  
    10831090                  ENDIF      
    10841091               ENDIF ELSE BEGIN ; standard scatter plot 
    1085                   IF debug_w THEN print, pltcmdstd 
     1092                  IF debug_w THEN print, '   ',pltcmdstd 
    10861093                  res = execute(pltcmdstd(0)) 
    10871094               ENDELSE 
     
    11191126                     stdsc = [stat.sc_std, stat.sc_std(0)] 
    11201127                     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' 
    11221129                     printf, nulhis, strcompress(pltcmd) 
    11231130                     IF debug_w THEN print, pltcmd 
     
    11301137                     ov1d_val = 0 
    11311138                     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' 
    11331140                     printf, nulhis, strcompress(pltcmd) 
    11341141                     IF debug_w THEN print, pltcmd 
     
    13561363 
    13571364   ENDIF  
     1365   IF debug_w THEN print, '  ...EXIT plt_map' 
    13581366 
    13591367END  
Note: See TracChangeset for help on using the changeset viewer.