Changeset 360 for trunk


Ignore:
Timestamp:
06/06/08 15:43:54 (16 years ago)
Author:
smasson
Message:

bugfix when using pltz with contour keyword

Location:
trunk/SRC/ToBeReviewed/PLOTS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltz.pro

    r328 r360  
    409409      , NLEVEL = contnlevel, ZOOM = zoom, BOXZOOM = boxzoom, ENDPOINTS = endpoints $ 
    410410      , STRICTFILL = strictfill, REALSECTION = realsection, MASKFILL = maskfill $ 
    411       , USETRI = usetri, WDEPTH = wdepth, _extra = ex 
     411      , USETRI = usetri, _extra = ex 
    412412    restoreatt, oldattributs 
    413413    colnumb = oldcolnumb 
  • trunk/SRC/ToBeReviewed/PLOTS/DIVERS/checkfield.pro

    r327 r360  
    211211  if n_elements(field) EQ 0 then return, report('field undefined') 
    212212  arr = litchamp(field) 
     213  if vargrid eq 'W' then wdepth = 1 
    213214; first check 
    214215  IF n_elements(arr) EQ 1 THEN BEGIN 
     
    254255;we keep yranges (z axis) before changing the boxzoom. 
    255256    !y.range = [localbox[nelbox-1], localbox[nelbox-2]] 
    256     if vargrid EQ 'W' OR keyword_set(wdepth) then BEGIN 
     257    if keyword_set(wdepth) then BEGIN 
    257258      firstzw = 0 > (firstzw-1) 
    258259      lastzw = (lastzw+1) < (jpk-1) 
Note: See TracChangeset for help on using the changeset viewer.