pro wget ;+ ; WGET / WPUT ; ; uses a pixmap-window for "smooth" displaying a series of IDL-plots ; this avoids the "blinking" ; ; use wput to direct output to graphics window ; after plotting use wget to copy the pimap to the actual window ; ; SIDE EFFECTS: ; ; common block window_pixmap_copy ; ; EXAMPLE: ; ; for i=0,100 DO $ ; BEGIN ; wput ; prepares the graphics output to go to a pixmap window ; plot, data(*,i) ; plot the data ; wget ; copy the contents of the pixmap to actual window ; END ; ; Written: Hardi Peter, hpeter@linmpi.mpg.de ; ;- common window_pixmap_copy, pix_win, act_win ;; only makes sense with X11 if (!d.name ne 'X') then return wset, act_win device, copy=[0,0,!d.x_size,!d.y_size,0,0,pix_win] wdelete, pix_win return end