[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
series of subplots
From: |
Ben Bauer |
Subject: |
series of subplots |
Date: |
Mon, 3 Jun 2002 15:34:55 -0400 |
When I do the following, the frist plot "a.gif" is fine, but b.gif is
empty or contains 1 graph only. (gnuplot: Linux version 3.7 and
octave: 2.0.17 or 2.1.9). Am I abusing subplot, or just forgetting
to clear/close something?
a=[randn(20,1), randn(20,1), randn(20,1)]
gset term gif small size 320,720;
gset output "a.gif"
subplot(3,1,1);
title("one-a")
hist(a(1:20,1))
subplot(3,1,2);
title("two-a")
hist(a(1:20,2))
subplot(3,1,3);
title("three-a")
hist(a(1:20,3))
closeplot
b=[randn(20,1), randn(20,1), randn(20,1)]
gset term gif small size 320,720;
gset output "b.gif"
subplot(3,1,1);
title("one-b")
hist(b(1:20,1))
subplot(3,1,2);
title("two-b")
hist(b(1:20,2))
subplot(3,1,3);
title("three-b")
hist(b(1:20,3))
closeplot
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- series of subplots,
Ben Bauer <=