[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lining up the axes of multiplots/subplots

From: Ronald Crummett
Subject: Re: Lining up the axes of multiplots/subplots
Date: Fri, 17 Nov 2006 10:21:58 -0800

My suggestion then would be to add an empty caption on the other plot.  
Something like

x = 1:100;
ylabel('Something here');

Other than that, I agree with the post that it is a gnuplot problem and 
they are the ones to talk to.


----- Original Message -----
From: Joseph Wakeling <address@hidden>
Date: Friday, November 17, 2006 7:48 am
Subject: Re: Lining up the axes of multiplots/subplots
To: Ron Crummett <address@hidden>
Cc: address@hidden

> Ron Crummett wrote:
> > How about
> > 
> > axis([xmin xmax ymin ymax])
> > 
> > on each subplot?  Just call it after each subplot.  You can use 
> this to
> > align both x- and y-axes as you want.
> OK, but that just affects the values on the axes---it doesn't actually
> line them up, does it?
> You can see what I mean by adding a caption to the Y axis of one of
> these subplots, but not the other, or by running the following code:
> x = 1:100;
> subplot(2,1,1)
> plot(x,0.1*x)
> subplot(2,1,2)
> plot(x,100*x)
> The two subplots have the same *scale* on the X axis, from 0 to 
> 100, but
> they are not aligned with each other.  It would only work if all axes
> were identical in terms of their labels.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]