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/plt.pro

    r327 r328  
    347347  IF keyword_set(strictfill) THEN BEGIN 
    348348    tmp = z2d ge max 
    349     tmp = 1b - byte(extrapolate(tmp, tmp, 1, x_periodic = keyword_set(key_periodic)*(nx EQ jpi) )) 
    350     trifield = triangule(temporary(tmp)*mask, coinmonte = coinmontemask $ 
    351                , coindescend = coindescendmask, keep_cont = 0) 
    352     indicezoommask = (lindgen(jpi, jpj))[firstx:lastx, firsty:lasty] 
     349    IF total(tmp GE 1) THEN BEGIN  
     350      tmp = 1b - byte(extrapolate(tmp, tmp, 1, x_periodic = keyword_set(key_periodic)*(nx EQ jpi) )) 
     351      trifield = triangule(temporary(tmp)*mask, coinmonte = coinmontemask $ 
     352                           , coindescend = coindescendmask, keep_cont = 0) 
     353      indicezoommask = (lindgen(jpi, jpj))[firstx:lastx, firsty:lasty] 
     354    ENDIF 
    353355  ENDIF 
    354356; filling the mask values 
Note: See TracChangeset for help on using the changeset viewer.