<font size=2 face="sans-serif">you can integradet if you want, but for
me I'havent solved the problem with the text values sourrounding the spiderchart.</font>
<br>
<br><font size=2 face="sans-serif">with best regards / mit freundlichen
Grüssen / cordialement</font>
<br>
<br><font size=2 face="sans-serif">Pascal Bühler<br>
Qualität-Hardware / Prüfingenieur<br>
SAUTER HeadOffice<br>
Fr. Sauter AG<br>
Im Surinam 55, CH-4016 Basel<br>
Telefon +41 (0)61 695 5646<br>
Telefax +41 (0)61 695 5619<br>
</font><a href="http://www.sauter-controls.com/"><font size=2 face="sans-serif">http://www.sauter-controls.com</font></a><font size=2 face="sans-serif"><br>
<br>
DISCLAIMER:<br>
This communication, and the information it contains is for the sole use
of<br>
the intended recipient. It is confidential, may be legally privileged and<br>
protected by law. Unauthorized use, copying or disclosure of any part<br>
thereof may be unlawful. If you have received this communication in error,<br>
please destroy all copies and kindly notify the sender.<br>
<br>
Before printing out this e-mail or its attachments, please consider whether
<br>
it is really necessary to do so.<br>
Using less paper helps the environment.</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">Von:      
 </font><font size=1 face="sans-serif">Clément David <clement.david@scilab-enterprises.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">An:      
 </font><font size=1 face="sans-serif">Users mailing list
for Scilab <users@lists.scilab.org>, </font>
<br><font size=1 color=#5f5f5f face="sans-serif">Datum:      
 </font><font size=1 face="sans-serif">18.08.2015 09:16</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Betreff:    
   </font><font size=1 face="sans-serif">Re: [Scilab-users]
Spider Chart</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Gesendet von:    
   </font><font size=1 face="sans-serif">"users"
<users-bounces@lists.scilab.org></font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Hello Pascal,<br>
<br>
First thanks for sharing this piece of code, it seems great enough to<br>
be integrated into Scilab.<br>
<br>
If you want it to be integrated, do not hesitate to write a SEP [1]<br>
and/or test-cases and post them to better understand the implementation<br>
(and limitation of it).<br>
<br>
[1]: </font></tt><a href=http://wiki.scilab.org/How%20to%20introduce%20a%20new%20function%2><tt><font size=2>http://wiki.scilab.org/How%20to%20introduce%20a%20new%20function%2</font></tt></a><tt><font size=2><br>
0in%20Scilab<br>
<br>
Regards,<br>
<br>
--<br>
Clément <br>
<br>
Le mardi 11 août 2015 à 15:56 +0200, Pascal Buehler a écrit :<br>
> Comming nearer, but i have problems to seperate the strings for each
<br>
> angle. is there a goo algorithm or way to put each Test to each <br>
> webcorner? <br>
> <br>
> here is the code so far. <br>
> <br>
> //function Spider_Chart(Text,Value)<br>
> <br>
> //make shure the Text and Value entrance are correct.<br>
> Text=["fgdfgdf","dfsdf","fdf","dfsfd","dfggg","dfgfgg"]<br>
> [a]=type(Text);<br>
> if a~= 10 then disp("Error entry on Text");<br>
> end;<br>
> <br>
> Value=[10,20,40,30,5,15]<br>
> [b]=type(Value);<br>
> if b~= 1 then disp("Error entry on Value");<br>
> end;<br>
> <br>
> //the size of Text list and the maximum value defines the Web.<br>
> c=size(Text);<br>
> d=size (Value);<br>
> <br>
> if c(2)~= d(2) then disp("Error entry");<br>
> end;<br>
> <br>
> e=c(2);<br>
> f=[1:1:e,1];<br>
> g=2*%pi/e*f;<br>
> h=max(Value)*1.2;<br>
> i=zeros(c(1),c(2)+1);<br>
> j=h*sin(g);<br>
> k=h*cos(g);<br>
> <br>
> //Ticks<br>
> l=[5:5:h]';<br>
> m=[1:1:h]';<br>
> if h>=10 then n=l*sin(g), o=l*cos(g);<br>
>    else n=m*sin(g), o=m*cos(g);<br>
> end;<br>
> <br>
> //Text<br>
> <br>
> //draw the basic Spider-Chart<br>
> figure("figure_name",gettext("Spider <br>
> Chart"),"Position",[50,50,500,500],"BackgroundColor",[1.0,1.0,1.0]);<br>
> title('$Spider\ Chart$','color','black','fontsize',5);<br>
> <br>
> xsegs([i;j],[i;k]);<br>
> p = gce(); p.segs_color=33; p.line_style=1;<br>
> <br>
> xpoly(j,k)<br>
> q = gce(); q.foreground=33; q.line_style=1;<br>
> <br>
> xpoly(n',o')<br>
> r = gce(); r.foreground=33; r.line_style=1;<br>
> <br>
> xstring(j,k,Text(1:1:g),0)<br>
> ????<br>
> <br>
> //draw the input values Spider-Chart <br>
> <br>
> with best regards / mit freundlichen Grüssen / cordialement <br>
> <br>
> Pascal Bühler<br>
> Qualität-Hardware / Prüfingenieur<br>
> SAUTER HeadOffice<br>
> Fr. Sauter AG<br>
> Im Surinam 55, CH-4016 Basel<br>
> Telefon +41 (0)61 695 5646<br>
> Telefax +41 (0)61 695 5619<br>
> </font></tt><a href="http://www.sauter-controls.com/"><tt><font size=2>http://www.sauter-controls.com</font></tt></a><tt><font size=2><br>
> <br>
> DISCLAIMER:<br>
> This communication, and the information it contains is for the sole
<br>
> use of<br>
> the intended recipient. It is confidential, may be legally privileged
<br>
> and<br>
> protected by law. Unauthorized use, copying or disclosure of any part<br>
> thereof may be unlawful. If you have received this communication in
<br>
> error,<br>
> please destroy all copies and kindly notify the sender.<br>
> <br>
> Before printing out this e-mail or its attachments, please consider
<br>
> whether <br>
> it is really necessary to do so.<br>
> Using less paper helps the environment.<br>
> _______________________________________________<br>
> users mailing list<br>
> users@lists.scilab.org<br>
> </font></tt><a href=http://lists.scilab.org/mailman/listinfo/users><tt><font size=2>http://lists.scilab.org/mailman/listinfo/users</font></tt></a><tt><font size=2><br>
_______________________________________________<br>
users mailing list<br>
users@lists.scilab.org<br>
</font></tt><a href=http://lists.scilab.org/mailman/listinfo/users><tt><font size=2>http://lists.scilab.org/mailman/listinfo/users</font></tt></a><tt><font size=2><br>
</font></tt>
<br><font size=2 face="sans-serif"><br>
</font>