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

Home » Public Forums » archive » Copying windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Copying windows [message #3721] Tue, 28 February 1995 17:45 Go to previous message
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
Hi all,
I would like to make a copy of a plot in one window, and put it in
a second window. Is there any way to change the dimensions of the rectangle
that I copy, so I can place it into a window of a different size? I tried

IDL> window, 0, xsize = 500, ysize = 400
IDL> plot, findgen(10)
IDL> window, 1, xsize = 600, ysize = 500
IDL> device, copy = [0, 0, 500, 400, 0, 0, 0]

This copies the pixels, but the plot in window 1 is the same size as
the plot in window 0. I tried changing the values of copy, but could
not get it to do what I want. Is there a way to copy plots to windows
of a different size?

Thanks,
mallozzi@ssl.msfc.nasa.gov
[Message index]
 
Read Message
Read Message
Previous Topic: Routine on the gridding with continuous curvature splines
Next Topic: IDL startup trick

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

Current Time: Sat Oct 11 12:52:08 PDT 2025

Total time taken to generate the page: 1.19910 seconds