help-octave
[Top][All Lists]
Advanced

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

Parametric plots


From: John B. Thoo
Subject: Parametric plots
Date: Fri, 25 Apr 2003 06:58:50 -0700

Hi. I'm sorry if this is a FAQ. In gnuplot, parametric plots (in 2D) are accomplished by, e.g.,

   gnuplot> plot [t=0:2] t**2 - t - 1, sin (2*pi*t)

but I couldn't do the same in Octave using "gset parametric" and "gplot":


octave:1> gset parametric
octave:2> gplot [t=0:2] t**2 - t - 1, sin (2*pi*t)
parse error:

>>> gplot [t=0:2] t**2 - t - 1, sin (2*pi*t)
                  ^

octave:2> gplot [t=0:2] "t**2 - t - 1, sin (2*pi*t)"
warning: can't make 2D parametric plot -- setting noparametric...
         line 0: undefined variable: t

octave:3>


How do I plot parametric equations in Octave?  Thanks.

---John.



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