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

Home » Public Forums » archive » Re: rescaling an image
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: rescaling an image [message #1105] Fri, 06 August 1993 13:01 Go to previous message
kevin is currently offline  kevin
Messages: 17
Registered: August 1992
Junior Member
jabarone@athena.mit.edu (John A Barone) writes:


> Hi,
>
> I'm trying to view a 3-D image in two different windows of two
> different sizes. I would like the image to look aproximately the
> same in both windows. The problem is that the two windows are
> different sizes (specifically 608x486 and 576x792). Obviously when
> I plot the data using SURFACE the results are quite different in each
> window. I've been trying to fool around with the POSITION key word to
> scale the plot so that it looks the same in both windows, but I haven't
> come up with any satisfactory results. Does anyone know of a way to do this?
> Any help would be greatly appreciated.

If you want the images to fill up the entire window, the try using the congrid
function:

new_image=congrid(old_image,!d.x_vsize,!d.y_vsize,/interp)
tvscl,new_image
Thanks in advance.
[Message index]
 
Read Message
Read Message
Previous Topic: IDL Licenses and architectures (was IDL LICENSING MADNESS)
Next Topic: Solution to CURSOR problem

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

Current Time: Fri Oct 10 15:24:09 PDT 2025

Total time taken to generate the page: 0.31862 seconds