help-octave
[Top][All Lists]
Advanced

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

Alignment of subplots?


From: Matthias Brennwald
Subject: Alignment of subplots?
Date: Tue, 20 Nov 2007 09:16:03 +0100

Dear all

If I plot two (or more) figures below each other using subplot, the
plots may end up un-aligned at the left (such as in the example below).
I use Octave 2.9.16 and Gnuplot. Is there a way to align the plots?

Code example:

x=[1:10];
y1 = rand(size(x));
y2 = 1e10*y1;
subplot(2,1,1);
plot(x,y1);
subplot(2,1,2);
plot(x,y2);


reply via email to

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