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

Home » Public Forums » archive » Multiple plots on a page (was: Color PS (was:IDL resources))
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Multiple plots on a page (was: Color PS (was:IDL resources)) [message #6763] Thu, 15 August 1996 00:00
Robert.M.Candey is currently offline  Robert.M.Candey
Messages: 23
Registered: June 1995
Junior Member
In article <hartman.840100620@ruund9.fys.ruu.nl>, hartman@fys.ruu.nl (Jan
Willem Hartman) wrote:

. . .
> Now for something different (I always seem to want things that are
> not that easily feasible in IDL, I am not testing you people...).
> I want 4 graphs next to eachother in this way:
>
> |------------------------| |-|
> | | | | |
> y| | | | |
> | | | | |
> a|-----------|------------| | |
> x| | | | |
> i| | | | |
> s| | | | |
> |-----------|------------| |-|
> x axis
>
> i.e. with no white space/annotation between the graphics and if possible,
> with a scale bar along the total right side of the graph as indicated.
> Is there a (preferably easy) way to do this?
>
> Thanks (again),
>
> Jan Willem

I think it would be easiest to use the position=[,,,] keyword for each
plot. However, you can use something like (not tested):

!p.multi = [0,2,2]
!x.margin = [0,0] & !y.margin = [0,0]
!x.omargin = [10,14] & !y.omargin = [5,8] ; set outside margins
plot 4 times with x and y axes turned off for some (x/ystyle=1+8)
offset = 0.01
colorbar, position=[!x.window(1)+offset, !y.window(0),$
!x.window(1)+offset+0.03, $
!y.window(0) + 2 * (!y.window(1)-!y.window(0))]

(colorbar is my own routine, but there are similar routines)

--
Robert.M.Candey@gsfc.nasa.gov
NASA Goddard Space Flight Center, Code 632
Greenbelt, MD 20771 USA 1-301-286-6707
[Message index]
 
Read Message
Previous Topic: Re: C-->IDL / FORTRAN-->IDL searched
Next Topic: Re: Q: Clearing Widget Events

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

Current Time: Wed Oct 08 18:12:35 PDT 2025

Total time taken to generate the page: 0.00460 seconds