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

Home » Public Forums » archive » Re: Variable y-axis sizes in multiplot/ladder?
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: Variable y-axis sizes in multiplot/ladder? [message #35587 is a reply to message #35576] Mon, 07 July 2003 10:10 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Lisa K writes:

> I am trying to make a plot like:
>
> ------------------------------------------
> y-axis1 | plot 1
> |
> ------------------------------------------
> |
> |
> |
> |
> y-axis2 |
> | plot 2
> |
> |
> |
> |
> -------------------------------------------
> x-axis
>
>
> I have been using multiplot, but it makes the height of the y-axis1 =
> y-axis2, so that plot 1 and plot 2 are the same size. I'd like to
> save space and make y-axis1 smaller than y-axis2. Is there a way of
> doing this with multiplot or ladder? I'm looking in the multiplot
> source code, and am not sure which parameter I would need to change
> (if possible). Any help would be greatly appreciated!!

Forget !P.Multi. Try something like this:

Plot, RandomU(seed, 10) * 10, XStyle=9, $
Position=[0.15, 0.15, 0.9, 0.65]
Plot, RandomU(seed, 10) * 10, XStyle=1, $
Position=[0.15, 0.67, 0.9, 0.90], $
/NoErase, XTickformat='(A1)'
Plots, [0.15, 0.15], [0.65, 0.67], /Normal
Plots, [0.90, 0.90], [0.65, 0.67], /Normal

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Slider Question
Next Topic: IDL 6.0 release schedule

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

Current Time: Wed Oct 08 19:24:39 PDT 2025

Total time taken to generate the page: 0.00434 seconds