Re: redraw after resize [message #7746] |
Thu, 19 December 1996 00:00 |
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/
/*********************************************************** ********/
|
|
|