help-octave
[Top][All Lists]
Advanced

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

Re: Cannot plot in gnuplot what works in Octave


From: Dmitri A. Sergatskov
Subject: Re: Cannot plot in gnuplot what works in Octave
Date: Tue, 23 Aug 2005 18:16:43 -0600


On Aug 23, 2005, at 6:07 PM, Henry F. Mollet wrote:

gnuplot> f(x) = (1-h/((x-th)^2+1)) % this must be element by element
operation in gnuplot, as I cannot enter the ./ and .^ operators in gnuplot

In gnuplot, power operator is "**", e.g.

gnuplot> y(x)=x**2
gnuplot> plot y(x)

"^" is bitwise exclusive "OR" operator.
See "help operator" (in gnuplot).

Regards,

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]