<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 28/11/2016 16:01, Maxi041291 a
écrit :<br>
</div>
<blockquote cite="mid:1480345297077-4035130.post@n3.nabble.com"
type="cite">
<pre wrap="">Thank you for trying to help, but i think i didnt describe my Problem well
enough.
Normally there should be arrows in the plot, </pre>
</blockquote>
<font color="#cc33cc">You did not require this previously.<br>
</font>
<blockquote cite="mid:1480345297077-4035130.post@n3.nabble.com"
type="cite">
<pre wrap="">but i dont think this is
possible in scilab.</pre>
</blockquote>
<font color="#cc33cc"><a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.0/en_US/polyline_properties.html">https://help.scilab.org/docs/6.0.0/en_US/polyline_properties.html</a><br>
</font><br>
<blockquote cite="mid:1480345297077-4035130.post@n3.nabble.com"
type="cite">
<pre wrap="">But here a Piece of my original code in scilab:
clear;
clc;
phase=[0;-2.8487;-2.993; 2.9664;2.8264;2.9638];
magnitude=[0;1.25e-4;2.17e-4;1.34e-4;7.5e-5;1.32e-4];
allmagnitude=[0; 1.32e-4];
allphase=[0;2.9638];
//This is how it works, but just for a defined length of the vectors
clf(1);
polarplot([phase(1:2) phase(2:3) phase(3:4) phase(4:5) phase(5:6)
allphase],[magnitude(1:2) magnitude(2:3) magnitude(3:4) magnitude(4:5)
magnitude(5:6) allmagnitude],[5,2,3,1,4,9]);</pre>
</blockquote>
<br>
<font color="#cc33cc">Sorry, i don't understand what you wish: Do
you really wish to have each segment one by one with a different
color?<br>
</font><br>
<blockquote cite="mid:1480345297077-4035130.post@n3.nabble.com"
type="cite">
<pre wrap="">
//This is the way it doesnt work
clf(2);
polarplot(phase,magnitude,[5,2]);
polarplot(allphase,allmagnitude,[1,2]);</pre>
</blockquote>
<br>
Anyway, you must call polarplot() only once. Or to convert
(angles,radii) => (x, y) yourself before using plot() instead of
polarplot()<br>
<br>
<blockquote cite="mid:1480345297077-4035130.post@n3.nabble.com"
type="cite">
<pre wrap="">
Because the length of the vectors (Magnitude and Phase) is not fixed in my
original code, </pre>
</blockquote>
What do you mean by "is not fixed"?<br>
<blockquote cite="mid:1480345297077-4035130.post@n3.nabble.com"
type="cite">
<pre wrap="">i think i cant define the polarplot like its done in the
first example.
So i would like to do it like in the second example, but that doesn´t work,
because i get a new axis for each datapoint</pre>
</blockquote>
<br>
With polarplot, presently you can't avoid it. Each call yields a
polar frame.<br>
<br>
</body>
</html>