Changeset 141
- Timestamp:
- 06/10/09 11:22:41 (15 years ago)
- Location:
- trunk/procs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/procs/def_work.pro
r109 r141 147 147 cmdi.proj = strmid(cmdi.proj, 0, strpos(cmdi.proj, '[')) 148 148 ENDIF ELSE leg_format = default_txt_format 149 149 150 ; decode proj for number of overlays in window (min=1) 150 151 overl = strpos(cmdi.proj, 'o') … … 155 156 ENDELSE 156 157 158 nadd = nover 159 157 160 ; make loop on number of overlays 158 161 iover = 1 162 inext = 0 159 163 WHILE iover LE nover DO BEGIN 160 164 161 idx = iline + nb_lines + iover - 1165 idx = iline + nb_lines + iover + inext - 1 162 166 cmdo = decode_cmd(cmdline, idx) 163 167 idx_main=idx 164 ; print, ' plot,window,overlay = ', iplot, iwin, iover 165 ; print, ' max win, max over = ', nwin, nover 166 ; print, ' index = ', idx 167 168 CASE cmdo.exp OF 169 'CT': BEGIN 170 data_domain = 'global' 171 print, 'WARNING set data_domain = global in def_work' 172 END 173 'GloSea40':BEGIN 174 data_domain = 'glosea' 175 print, 'WARNING set data_domain = glosea in def_work' 176 END 177 ELSE: 178 ENDCASE 168 169 IF debug_w THEN BEGIN 170 print, ' In def_work:' 171 print, ' plot,window,overlay, inext = ', iplot, iwin, iover, inext 172 print, ' max win, max over = ', nwin, nover 173 print, ' index = ', idx 174 ENDIF 175 179 176 ; make overlay 180 177 … … 183 180 ; end of loop on overlays 184 181 iover = iover+1 182 ; special case y=f(next) on 2 lines 183 184 IF strpos(cmdi.var, '(next)') GT -1 THEN BEGIN 185 inext = inext + 1 186 nadd = nadd + 1 187 ENDIF ELSE BEGIN 188 inext = 0 189 ENDELSE 190 185 191 ENDWHILE 186 nb_lines = nb_lines + nover 187 188 ; special case y=f(next) on 2 lines 189 190 IF strpos(cmdi.var, '(next)') GT -1 THEN nb_lines = nb_lines + 1 192 nb_lines = nb_lines + nadd 193 191 194 192 195 ; end of loop on windows -
trunk/procs/plt_map.pro
r128 r141 788 788 ELSE: BEGIN ; $$$$$$$$$$$$$$$$$$$$$$$$$$ make plot $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ 789 789 790 CASE plttyp OF 790 IF debug_w THEN BEGIN 791 print, ' Plot type (plttyp) = ', plttyp 792 stop 793 ENDIF 794 Case plttyp OF 791 795 'plt': BEGIN 792 796 ; … … 1012 1016 IF common_time EQ 1 THEN BEGIN 1013 1017 IF iover EQ 1 THEN time_prev = time ELSE time = time_prev 1014 ENDIF 1018 ENDIF 1015 1019 1016 1020 IF st_rms EQ 1 THEN BEGIN ; time series of rms deviation on a sigma surface
Note: See TracChangeset
for help on using the changeset viewer.