Changeset 479 for trunk/SRC/ToBeReviewed/PLOTS/DIVERS/placedessin.pro
- Timestamp:
- 08/17/12 12:18:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/placedessin.pro
r378 r479 240 240 keyword_set(post) AND !d.name ne 'PS':openps, _extra = ex 241 241 ; case of the first drawing on a screen 242 keyword_set(post) EQ 0 AND keyword_set(noerase) EQ 0 $ 243 AND !d.name ne 'PS' AND !d.name ne 'Z':BEGIN 244 if not keyword_set(window) then window = 0 242 keyword_set(post) EQ 0 AND keyword_set(noerase) EQ 0 AND !d.name ne 'PS':BEGIN 245 243 ; For the using of \@ps,\@oups and \@vzoom 246 244 if lmgr(/demo) EQ 0 then BEGIN ; Are we in the demo mode?? … … 253 251 journal, listecommande ; We write it in the journal 254 252 ENDIF 255 windsize = givewindowsize() 256 window, window, xsize = windsize[0], ysize = windsize[1], retain = 2, _extra = ex 257 ; When we used colors which are coded on 24bit, we can not stipulate the background color 258 ; of a window thanks to !p.background, so we have to to this: 259 ; if !d.n_colors gt 256 then begin 260 ; device, decomposed=1 261 ; !p.background='ffffff'x 262 ; plot,[0],[0], /nodata, xstyle = 4, ystyle = 4 263 ; device, decomposed=0 264 ; endif 253 windsize = givewindowsize(_extra = ex) 254 IF !d.name EQ 'Z' THEN BEGIN 255 device, set_resolution = windsize 256 erase 257 ENDIF ELSE BEGIN 258 if not keyword_set(window) then winnumb = 0 259 window, winnumb, xsize = windsize[0], ysize = windsize[1], retain = 2, _extra = ex 260 ENDELSE 265 261 END 266 262 ELSE:
Note: See TracChangeset
for help on using the changeset viewer.