Multiple plots on a page (was: Color PS (was:IDL resources)) [message #6763] |
Thu, 15 August 1996 00:00 |
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
|
|
|