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

Home » Public Forums » archive » Re: How do I plot two images with !P.Multi, while keep the aspect ration reflecting the image size
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: How do I plot two images with !P.Multi, while keep the aspect ration reflecting the image size [message #72185 is a reply to message #72182] Tue, 17 August 2010 10:56 Go to previous messageGo to previous message
Chris[7] is currently offline  Chris[7]
Messages: 4
Registered: August 2010
Junior Member
Use David's TVIMAGE program and skip !p.multi

tvimage, bytscl(im1), pos=[.05, .05, .45, .95], /keep
tvimage, bytscl(im2), pos=[.5, .05, .95, .95], /keep

http://www.dfanning.com/programs/tvimage.pro

chris



On 8/16/10 11:50 PM, Ding wrote:
> Hello Eveyone,
>
> I attempted to plot two images
> img1=fltarr(512,512)
> img2=fltarr(108,128)
>
> How do I plot them for (EPS output) in a layout of !
> P.Multi=[0,2,1,0,0]. plot them with the same height while keeping the
> aspect ratio to reflect their real size, as img2 is part of img1 and
> scaled to illustrate the details.
>
> Thanks
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL syntax highlighting in other documents
Next Topic: Re: IDL syntax highlighting in other documents

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

Current Time: Fri Oct 10 17:27:17 PDT 2025

Total time taken to generate the page: 1.91622 seconds