<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Le 21/09/2011 11:54, Ginters Bušs a écrit :
<blockquote
cite="mid:CA+vGzUbraLgiYeN9zu=P-fdzcwER2LVGz9CLT05HE9E1tNTygg@mail.gmail.com"
type="cite">Dear all,<br>
<br>
I wish to use monochrome plots that automatically sets different line
styles and/or markers if plot contains more than one line. <br>
<br>
As a first step, I tried xset("use color",0) but it (scilab 5.3.0 and
5.3.3) gives:<br>
<br>
!--error 999 xset: Unrecognized input argument: 'use color'.<br>
<br>
although the argument appears in Help.<br>
<br>
What's wrong?<br>
<br>
gin<br>
</blockquote>
<font face="Arial">Here is a short example illustrating the hint from
Mathieu:<br>
========<br>
x = linspace(0,20,200);<br>
clf<br>
plot2d(x,cos(x))<br>
a = gca();</font><font face="Arial"><br>
a.children.children.line_style</font>=1; // =0 (default) = solid line<br>
<font face="Arial">for i=1:5<br>
plot2d(x,cos(x+i)/(i+1))<br>
a.children(1).children.line_style=</font><font face="Arial">a.children(2).children.line_style+1;<br>
end<br>
============<br>
<br>
AFAIK, there is no other automatic way for doing this.<br>
<br>
HTH<br>
Samuel<br>
<br>
</font>
</body>
</html>