help-octave
[Top][All Lists]
Advanced

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

Re: Contour plots


From: Dmitri A. Sergatskov
Subject: Re: Contour plots
Date: Tue, 08 Mar 2005 08:37:08 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041127)

Shai Ayal wrote:
Dmitri, Henry
...

I sent an email with an attachment containing contour.m, __contourc__.cc and contourc.m. This version should work with gnuplot. If there is a

Yes. Now it uses gnuplot 2-d plotting instead of 2-d projection of
2-d plotting it uses with the current version of contour.

problem with xlabel, it's gnuplot's problem which is strange since gnuplot is quite robust.

That was the said difference between plot layouts in true 2-d plotting and 2-d view of splot. The latter one apparently makes more margins for labels and Henry compensated for it
by adding  "gset origin 0.30,-0.07". When used with your new
contour that command pushes plot too low and that clips off
the xlabel. Plot looks fine without it. Sorry for false alarm here.


about suppressing output -- do you mean not plotting anything if there are no contours?


Currently, with your new contour, if you type contour(x,y,z)
(no ";" at the end) it prints out on the terminal
the "s" values which I did not ask for.
The desired behavior is:

contour(x,y,z)          --> plots the figure no output on the terminal window
s=contour(x,y,z)        --> plots the figure, returns s, prints s on the 
terminal
s=contour(x,y,z);       --> plots the figure, returns s, does not print 
anything on
                                the terminal

(compare that with "hist" for example)

Thanks for the input,
Shai

Sincerely,

Dmitri.
--



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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