<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Please find attached a revision of the polarplot1 function wich
allows to request a full 4 quadrants polar plot.</p>
<p>and below an example with arrowed lines</p>
<p><font color="#3366ff"><tt>phase=[0;-2.8487;-2.993;
2.9664;2.8264;2.9638];</tt><tt><br>
</tt><tt>magnitude=[0;1.25e-4;2.17e-4;1.34e-4;7.5e-5;1.32e-4];</tt><tt><br>
</tt><tt>allmagnitude=[0; 1.32e-4];</tt><tt><br>
</tt><tt>allphase=[0;2.9638];</tt><tt><br>
</tt><tt>colors=[5,2,3,1,4,9];</tt><tt><br>
</tt><tt>clf</tt><tt><br>
</tt><tt>for k=1:size(phase,"*")-1</tt><tt><br>
</tt><tt>
polarplot1(phase(k:k+1),magnitude(k:k+1),colors(k),%t)</tt><tt><br>
</tt><tt>e=gce();e.children(1).polyline_style=4; //arrowed
style polylines </tt><tt><br>
</tt><tt>end</tt><tt><br>
</tt><tt>polarplot1(allphase,allmagnitude,colors(6),%t)</tt><tt><br>
</tt><tt>e=gce();e.children(1).polyline_style=4; //arrowed
style polylines </tt></font></p>
or<br>
<br>
<font color="#3366ff"><tt>clf;</tt><tt><br>
</tt><tt>phi=[];mag=[];</tt><tt><br>
</tt><tt>for k=1:size(phase,"*")-1</tt><tt><br>
</tt><tt> phi=[phi phase(k:k+1)];</tt><tt><br>
</tt><tt> mag=[mag magnitude(k:k+1)];</tt><tt><br>
</tt><tt>end</tt><tt><br>
</tt><tt>phi=[phi allphase];</tt><tt><br>
</tt><tt>mag=[mag allmagnitude];</tt><tt><br>
</tt><tt>polarplot1(phi,mag,colors,%t)</tt><tt><br>
</tt><tt>e=gce();e.children(1:$-1).polyline_style=4;</tt></font><br>
<br>
<br>
<div class="moz-cite-prefix">Le 30/11/2016 à 08:27, Maxi041291 a
écrit :<br>
</div>
<blockquote cite="mid:1480490861874-4035146.post@n3.nabble.com"
type="cite">
<pre wrap="">Hello again,
Its just shown the part of the polarplot, which is used, but i would like to
see the plot from 0° to 360°.
how do i set the angle axis from 0° to 360° every time?
Thank you for helping :)
--
View this message in context: <a class="moz-txt-link-freetext" href="http://mailinglists.scilab.org/more-polarplots-in-one-coordinate-system-tp4035127p4035146.html">http://mailinglists.scilab.org/more-polarplots-in-one-coordinate-system-tp4035127p4035146.html</a>
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>