[Scilab-users] Regarding multiply-armed equiangular (or Logarithmic) spirals
Samuel Gougeon
sgougeon at free.fr
Sun Sep 16 18:58:18 CEST 2012
Le 16/09/2012 17:29, bkpsusmitaa a écrit :
> Actually, I want to generate a multiarmed spiral such as this:
> http://mailinglists.scilab.org/file/n4024823/Multiarmed.Spiral.png
> Can someone help?
> Regards
>
OK, thank you for the illustration. For instance, you may use something
like this:
a = (0:11)/12*360; // starting angles
r = (0:30)' // range of radii
R = r*ones(a) // matrix of radii for all branches
A = r*ones(a)+ones(r)*a // matrix of angles for all branches. You can
change the f(A,R) relationship
X = R.*cosd(A) // polar to cartesian transform
Y = R.*sind(A) // ..
plot(X,Y)
a = gca();
a.isoview = "on";
Regards
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120916/7ca0a875/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-3.png
Type: image/png
Size: 6700 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20120916/7ca0a875/attachment.png>
More information about the users
mailing list