<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
Le 17/08/2014 05:59, Einstom Engay a écrit :<br>
</div>
<blockquote
cite="mid:1408247946.438.YahooMailNeo@web190901.mail.sg3.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:10pt">
<div class="" style="">Hi,</div>
<div class="" style=""><br class="" style="">
</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class="">I have previously used the function
plot and it worked well. But, every time i used it now it
outputs the error 21. </div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; font-style: normal; background-color:
transparent;" class=""><br class="" style="">
</div>
<div style="background-color: transparent;" class="">-->x =
[-5:5]</div>
<div style="background-color: transparent;" class=""> x =</div>
<div style="background-color: transparent;" class=""> </div>
<div style="background-color: transparent;" class=""> - 5. -
4. - 3. - 2. - 1. 0. 1. 2. 3. 4. 5. </div>
<div style="background-color: transparent;" class=""> </div>
<div style="background-color: transparent;" class="">-->plot(x)</div>
<div style="background-color: transparent;" class=""> !--error
21 </div>
<div style="background-color: transparent;" class="">Invalid
index.</div>
<div style="background-color: transparent;" class="">at line
14 of function %h_e called by : </div>
<div style="background-color: transparent;" class="">at line
15 of function _update_shaded_plots called by : </div>
<div style="background-color: transparent;" class="">at line
91 of function _compute_data_bounds called by : </div>
<div style="background-color: transparent;" class="">at line
327 of function _mainPlot called by : </div>
<div style="background-color: transparent;" class="">at line
28 of function plot called by : </div>
<div style="background-color: transparent;" class="">plot(x)</div>
</div>
</blockquote>
It works for me, also with Windows7.<br>
You might do:<br>
<font face="Courier New, Courier, monospace">clear plot<br>
</font>and then try again.<br>
<br>
Samuel<br>
<br>
</body>
</html>