Ignore:
Timestamp:
09/15/06 10:24:36 (18 years ago)
Author:
smasson
Message:

bugfix tvplus + roms + xxx

File:
1 edited

Legend:

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

    r163 r181  
    127127;------------------------------------------------------------ 
    128128  determineminmax, z2d, msk, truemin, truemax, MININ = min, MAXIN = max, NAN = nan 
     129  z2d = min > temporary(z2d) < max 
    129130;------------------------------------------------------------ 
    130131; apply other keywords (nointerp, c_nan, c_mask)  
     
    132133  IF NOT keyword_set(nointerp) THEN BEGIN 
    133134; interpolation between bottom and bottom+ncolors-1 
    134     m = 1.*(ncolors-1)/(truemax-truemin) 
    135     p = bottom - 1.*truemin*m 
     135    m = 1.*(ncolors-1)/(max-min) 
     136    p = bottom - 1.*min*m 
    136137    z2d = m * temporary(z2d) + p 
    137138  ENDIF 
Note: See TracChangeset for help on using the changeset viewer.