<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 06/09/2015 16:28, Jens Simon Strom a
écrit :<br>
</div>
<blockquote cite="mid:55EC4D8F.7020600@hslmg.de" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<div id="ctl00_PageContent_rptPosts_ctl00_pnlSubject"
style="font-weight: bold;"> </div>
<div id="ctl00_PageContent_rptPosts_ctl00_pnlVideo"> </div>
<p>I would like to replace the line specification in a plot
command by a variable that can be used as an function input
argument. E. g. the line</p>
<p>plot([1:4],[1:4],
'LineStyle','none','Marker','+','MarkForeground',[255;215;0]/256)</p>
<p>should be replaced by</p>
<p>plot([1:4],[1:4],LS)</p>
<p>How should LS be constructed? </p>
</blockquote>
As a list:<br>
LS =
list(LineStyle','none','Marker','+','MarkForeground',[255;215;0]/256);<br>
used with the call:<br>
plot([1:4],[1:4],
LS(:)) // do not remove ":"<br>
<br>
Samuel<br>
<br>
</body>
</html>