Changeset 172 for trunk/SRC/ToBeReviewed/PLOTS/DIVERS
- Timestamp:
- 09/11/06 09:11:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/axis4pltz.pro
r163 r172 90 90 ENDELSE 91 91 if keyword_set(sin) then xxaxis = sin(!pi/180.*xxaxis) 92 if (size(z))[0] EQ 1 THEN zzaxis = z ELSE zzaxis = z93 92 ENDIF ELSE BEGIN 94 93 xxaxis = glam[*, 0] 95 if (size(z))[0] EQ 1 then zzaxis = z ELSE zzaxis = z96 94 ENDELSE 95 zzaxis = z 97 96 ;---------------------------------------------------------- 98 97 ; We project the z axis in [0,1] … … 102 101 if zoom LT profmax then begin 103 102 mp = projsegment([profmin, zoom], [0, zratio], /mp) 104 zzaxis[where(zzaxis LE zoom)] = mp[0]*zzaxis[where(zzaxis LE zoom)]+mp[1] 103 small = where(zzaxis LE zoom) 104 IF small[0] NE -1 THEN zzaxis[small] = mp[0]*zzaxis[small]+mp[1] 105 105 mp = projsegment([zoom, profmax], [zratio, 1], /mp) 106 zzaxis[where(zzaxis GE zoom)] = mp[0]*zzaxis[where(zzaxis GE zoom)]+mp[1] 106 big = where(zzaxis GE zoom) 107 IF big[0] NE -1 THEN zzaxis[big] = mp[0]*zzaxis[big]+mp[1] 107 108 ENDIF ELSE BEGIN 108 109 mp = projsegment([profmin, profmax], [0, 1], /mp)
Note: See TracChangeset
for help on using the changeset viewer.