<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Great,Samuel!<br>
Now my script looks much better.<br>
<br>
Thanks with kind regards<br>
<br>
Jens<br>
---------------------------------------------------------------------<br>
<div class="moz-cite-prefix">Am 03.06.2018 11:26, schrieb Samuel
Gougeon:<br>
</div>
<blockquote cite="mid:964b4cae-3ae8-710b-7782-f84fe4fdcdba@free.fr"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=windows-1252">
<div class="moz-cite-prefix">Le 02/06/2018 à 22:31, Jens Simon
Strom a écrit :<br>
</div>
<blockquote cite="mid:5B12FE9B.30006@hslmg.de" type="cite"> Hello
Scilab intimates,<br>
<br>
The lines<br>
<br>
<span>Cspec=list(</span><span>'</span><span>Color</span><span>'</span><span>,</span><span>'</span><span>r</span><span>'</span><span>,</span><span>'</span><span>thickness</span><span>'</span><span>,5);</span>
<span><br>
plot(1:5,Cspec(:))</span><br>
<br>
are functional, but the lines<br>
<br>
Cspec=list('line_mode','off','mark_mode','on','mark_style',1,'mark_foreground',5,'mark_size',5);
<br>
<span>plot</span>([1:5],Cspec(:)) <br>
<br>
are not. What has to be changed?<br>
<br>
I would like to use line specifying lists as function input
arguments.<br>
</blockquote>
<br>
Presently, plot() accepts only "plot-like" properties names and
values.<br>
I agree that this is an issue, due to some wishes to make Scilab
just a shadow of another language.<br>
<br>
plot-like equivalences exist for some properties, but not for all,
and some features are not documented.<br>
The following code works and does what you aim to do:<br>
<font color="#339999"><br>
</font><font color="#33cc00"><font color="#ff0000"><tt>Cspec =
list('linestyle','none','marker','+','markforeground',</tt><tt>'r'</tt><tt>,'marksize',5);
</tt><tt><br>
</tt><tt> </tt><tt><span>plot</span></tt><tt>([1:5],Cspec(:))
</tt></font><tt><br>
</tt><tt> </tt></font><br>
Regards<br>
Samuel<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>