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

Home » Public Forums » archive » cGimage, Multiplot with /KEEP_ASPECT_RATIO
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
cGimage, Multiplot with /KEEP_ASPECT_RATIO [message #83289] Tue, 12 February 2013 05:23
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
Hi IDLers, Hi David,

In the following I am making two plots with cg* routines.

img1 = cgDemoData(7)
img2 = congrid(img1, 360, 180)
cgDisplay, 900, 400
!P.Multi = [0, 2, 1]
multimargin = [1,1,1,1]
cgImage, img1, MULTIMARGIN=multimargin, /KEEP_ASPECT_RATIO, /AXES
cgImage, img2, MULTIMARGIN=multimargin, /KEEP_ASPECT_RATIO, /AXES
!P.Multi = 0

Nice, but I would like the top limit of the plots being the same
(meaning translate the second plot upwards a bit). I could'nt find an
easy solution. There must be one though! Any thoughts?

Thanks a lot,

Fab
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Antidote to Doom and Gloom
Next Topic: Re: cGimage, Multiplot with /KEEP_ASPECT_RATIO

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

Current Time: Wed Oct 08 15:56:48 PDT 2025

Total time taken to generate the page: 0.00481 seconds