<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Jens,<br>
<br>
Le 02/06/2018 à 22:31, Jens Simon Strom a écrit :<br>
</div>
<blockquote cite="mid:5B12FE9B.30006@hslmg.de" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Hello Scilab intimates,<br>
<br>
The lines<br>
<br>
<font face="Courier New, Courier, monospace"><span
style="font-style: italic;">Cspec=list(</span><span
style="font-style: italic;">'</span><span style="font-style:
italic;">Color</span><span style="font-style: italic;">'</span><span
style="font-style: italic;">,</span><span style="font-style:
italic;">'</span><span style="font-style: italic;">r</span><span
style="font-style: italic;">'</span><span style="font-style:
italic;">,</span><span style="font-style: italic;">'</span><span
style="font-style: italic;">thickness</span><span
style="font-style: italic;">'</span><span style="font-style:
italic;">,5);</span> <span style="font-style: italic;"><br>
plot(1:5,Cspec(:))</span><br>
</font><br>
are functional, but the lines<br>
<br>
<font face="Courier New, Courier, monospace">Cspec=list('line_mode','off','mark_mode','on','mark_style',1,'mark_foreground',5,'mark_size',5);
<br>
<span style="text-decoration: underline;">plot</span>([1:5],Cspec(:))
</font><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>
As a workaround, you may use the following:<br>
<br>
<tt>plot(1:5)</tt><tt><br>
</tt><tt> </tt><tt>Cspec =
list('line_mode','off','mark_mode','on','mark_style',1,'mark_foreground',5,'mark_size',5);</tt><tt><br>
</tt><tt>set(gce().children, Cspec(:))</tt><tt><br>
</tt><br>
Regards<br>
Samuel<br>
</body>
</html>