comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: redraw after resize
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: redraw after resize [message #7746] Thu, 19 December 1996 00:00
Phil Williams is currently offline  Phil Williams
Messages: 78
Registered: April 1996
Member
Chris E Forest wrote:
>
> Hi,
>
> Is there a way to make IDL automatically redraw an image after I resize
> the Xwindow??

This would have to be a widget program with resizable windows. Check
out David Fanning's website for several examples.
http://www.dfanning.com/

> Also, is there a command to dump the contents of an Xwindow to a
> postscript file? This would be similar to the simple print command
> found in Matlab.

wset, windowid
dump = tvrd()
currentDevice = !d.name
set_plot,'ps'
tv,dump
device,/close
set_plot,currentDevice

Check out the resource guide and help on device for more info on
creating postscript files.

Hope this helps,
Phil

--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: user input
Next Topic: redraw after resize

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 09:17:54 PDT 2025

Total time taken to generate the page: 0.01086 seconds