Changeset 19 for trunk/ToBeReviewed/COULEURS/lct.pro
- Timestamp:
- 05/02/06 11:40:19 (18 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/ToBeReviewed/COULEURS/lct.pro
r16 r19 15 15 ; KEYWORD PARAMETERS: ceux de loadct 16 16 ; 17 ; LIGHTNESS: a scalar used to change the Lightness of the color 18 ; palette to be abble to adjust according to the printer we use, 19 ; the media (paper or slide)... 20 ; lightness < 1 to get lighter colors 21 ; > 1 to get darker colors 22 ; 17 23 ; rq: si le mot cle file n''est pas specifie, on cherche un fichier 18 24 ; contenant les palette du nom de palette.tbl. … … 28 34 ;------------------------------------------------------------ 29 35 ;------------------------------------------------------------ 30 PRO lct, numero, GET_NAME = get_name, _EXTRA = ex36 PRO lct, numero, GET_NAME = get_name, LIGHTNESS = Lightness, _EXTRA = ex 31 37 @common 32 38 ; le mot cle file est passe par l''intermediere de EXTRA? … … 87 93 ENDELSE 88 94 ; 89 if oldname EQ 'PS' then BEGIN 90 tvlct, rouge, vert, bleu, /get 91 palit, coefpalit 92 endif 95 if oldname EQ 'PS' AND keyword_set(lightness) then palit, lightness 96 ; 93 97 set_plot, oldname 94 98 IF oldname EQ 'X' OR oldname EQ 'MAC' OR oldname EQ 'WIN' then BEGIN
Note: See TracChangeset
for help on using the changeset viewer.