Ignore:
Timestamp:
12/13/07 20:27:11 (17 years ago)
Author:
smasson
Message:

bugfix, continuation of changeset:326

File:
1 edited

Legend:

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

    r327 r328  
    474474      IF keyword_set(strictfill) THEN BEGIN 
    475475        tmp = z2d ge max 
    476         tmp = 1b - byte(extrapolate(tmp, tmp, 1)) 
    477         key_save = key_periodic & key_periodic = 0 
    478         trifield = triangule(temporary(tmp)*mask, coinmonte = coinmontemaskaa $ 
    479                              , coindescend = coindescendmaskaa, keep_cont = 0) 
    480         key_periodic = key_save 
    481         usetri = 2 
     476        IF total(tmp GE 1) THEN BEGIN  
     477          tmp = 1b - byte(extrapolate(tmp, tmp, 1)) 
     478          key_save = key_periodic & key_periodic = 0 
     479          trifield = triangule(temporary(tmp)*mask, coinmonte = coinmontemaskaa $ 
     480                               , coindescend = coindescendmaskaa, keep_cont = 0) 
     481          key_periodic = key_save 
     482          usetri = 2 
     483        ENDIF 
    482484      ENDIF 
    483485      z2d = remplit(z2d,nite=2+keyword_set(nan), mask = mask, /basique, _extra=ex) 
     
    494496                                     , coindescend = coindescendmask) 
    495497      ENDIF 
    496       IF NOT keyword_set(strictfill) THEN trifield = triangulation 
     498      IF n_elements(key_save) EQ 0 THEN trifield = triangulation 
    497499;---------------------------------------------------------------------- 
    498500      pltbase, z2d, xx, yy, mask, xx, yy, level_z2d, colnumb, contour = contour, /noerase $ 
Note: See TracChangeset for help on using the changeset viewer.