help-octave
[Top][All Lists]
Advanced

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

Re: polar plots.


From: Geraint Paul Bevan
Subject: Re: polar plots.
Date: Sun, 24 Apr 2005 12:42:08 +0100
User-agent: Mozilla Thunderbird 0.5 (X11/20040306)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan van der Walt wrote:
>  - Function File:  polar (THETA, RHO, FMT)
>      Make a two-dimensional plot given polar the coordinates THETA and
>      RHO.
>
>      The optional third argument specifies the line type.
>
> On Sun, Apr 24, 2005 at 12:37:41AM -0700, Muthiah Annamalai wrote:
>
>>Hello there!
>>Can we do polar plots with Octave/GNU Plot for
>>plotting antenna radiation patterns like that of
>>matlab?
>>Id like to see some concentric circles etc, on it. How
>>do we do that ?
>>


The 'grid' command doesn't adapt to the use of polar co-ordinates.
(Should it? Or would a "polargrid" command be useful?)

You can create a polar grid using:
__gnuplot_set__ grid polar

or gset instead of __gnuplot_set__ if you have an old version of Octave


octave> x = [-pi:pi/20:pi];
octave> y = sin(x);
octave> __gnuplot_set__ grid polar
octave> polar(x,y);



- --
Geraint Bevan
http://homepage.ntlworld.com/geraint.bevan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iEYEARECAAYFAkJrhg8ACgkQcXV3N50QmNMEjACbBsL72BzdLNVrJqf2P5UeeVeF
wqMAniFy7Oy3wPr4eoFiZ3KXlBLx5Dlx
=Mc2h
-----END PGP SIGNATURE-----



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