Re: Formatting plots in IDL [message #3027 is a reply to message #3015] |
Thu, 27 October 1994 08:17  |
andy
Messages: 31 Registered: November 1993
|
Member |
|
|
In article <lynch.119.2EAFAFD3@gst.gsfc.nasa.gov>, lynch@gst.gsfc.nasa.gov (David Lynch) writes:
> I would like to make plots of correlated data is such a way that two or more
> plots share the same x-axis, but are stacked vertically with only a line
> separating them. I can use the multi command to get several plots on one
> page, but these are separated by a lot of space and x-axis titles and values.
> Any ideas if such a thing is possible?
>
This may help: I am fond of using !x.omargin (!y.omargin) and
!x.margin (!y.margin).
Here is an example using !y.omargin and !y.margin for three vertical plots...
!y.omargin=[4,4]
!p.multi=[0,1,3,1]
!y.margin=[0,0]
plot,indgen(2),xstyle=1,xticklen=.0001,xtickname=replicate(' ', 30),title='Hi'
plot,-indgen(2),xstyle=1,xticklen=.0001,xtickname=replicate( ' ', 30)
plot, indgen(2),xstyle=8
--
,__o Andrew F. Loughe (Mail Code 971) voice: (301) 286-5899
-\_<, NASA Goddard Space Flight Center fax : (301) 286-0240
(*)/'(*) Greenbelt, MD 20771 email: andy.loughe@gsfc.nasa.gov
|
|
|