<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Le 16/09/2012 17:29, bkpsusmitaa a écrit :
<blockquote cite="mid:1347809377861-4024823.post@n3.nabble.com"
type="cite">
<pre wrap="">Actually, I want to generate a multiarmed spiral such as this:
<a class="moz-txt-link-freetext" href="http://mailinglists.scilab.org/file/n4024823/Multiarmed.Spiral.png">http://mailinglists.scilab.org/file/n4024823/Multiarmed.Spiral.png</a>
Can someone help?
Regards
</pre>
</blockquote>
OK, thank you for the illustration. For instance, you may use something
like this:<br>
<br>
<tt>a = (0:11)/12*360; // starting angles<br>
r = (0:30)' // range of radii<br>
R = r*ones(a) // matrix of radii for all branches<br>
A = r*ones(a)+ones(r)*a // matrix of angles for all branches. You can
change the f(A,R) relationship<br>
X = R.*cosd(A) // polar to cartesian transform<br>
Y = R.*sind(A) // ..<br>
plot(X,Y)<br>
a = gca();<br>
a.isoview = "on";<br>
<br>
</tt><img src="cid:part1.02050402.03070601@free.fr" alt=""><br>
<br>
Regards<br>
Samuel<br>
<br>
</body>
</html>