[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
multiple plots
From: |
Victor Hanby |
Subject: |
multiple plots |
Date: |
Mon, 27 Nov 2006 18:52:33 +0000 |
I've been using 2.1.72 for about six months on MacOs 10.3.9 (octave,
gnuplot and aquaterm binaries downloaded from hpc) and have just
started experimenting with plots. When I run the following script for
two multiple plots the first plot appears OK but the second plot has
the first on superimposed on it. I've tried inserting various commands
to no avail - any help appreciated.
Vic Hanby
A=[6 6.5 7 7.5 8 8.5 9 9.5 10];
tret=[59 53.97 49.6 45.74 42.31 39.25 36.48 33.98 31.7];
mdot=[0.597 0.325 0.233 0.1863 0.158 0.139 0.126 0.116 0.108];
subplot(2,1,1)
xlabel("radiator area (m^2)")
ylabel("return water temperature (C)")
plot(A,tret)
subplot(2,1,2)
xlabel("radiator area (m^2)")
ylabel("water mass flow rate (kg/s)")
plot(A,mdot)
- multiple plots,
Victor Hanby <=