help-octave
[Top][All Lists]
Advanced

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

Re: multiple plots


From: Michael Grossbach
Subject: Re: multiple plots
Date: Mon, 27 Nov 2006 20:47:48 +0100
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Works fine (at least with the 2.1.73-1 windows binary sf release) if you do the plotting for a subplot first and THEN issue the xlabel and ylabel commands.
Michael

Victor Hanby wrote:
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)

_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave




reply via email to

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