<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 14/02/2017 à 16:16, Samuel Gougeon a
écrit :<br>
</div>
<blockquote cite="mid:37f7eefb-405e-7379-dd29-04fba50bc726@free.fr"
type="cite"><br>
I caught it: you meant "X axis redimensioned to
(1:size(course,'r')) !
<br>
Why not simply
<br>
plot(course)
<br>
??
<br>
It ranges from 1 to 10.
<br>
</blockquote>
<br>
Please ignore this. You wish plot(course(Ixs)) not plot(course).<br>
<div class="moz-cite-prefix">Le 14/02/2017 à 16:06, Erhy a écrit :<br>
</div>
<blockquote cite="mid:1487084766939-4035488.post@n3.nabble.com"
type="cite">
<pre wrap="">But I miss the value with index 9 in the plot modified by Christophe's method.</pre>
</blockquote>
And with<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(231,136,4);">clf</span>
<span style="color:rgb(231,136,4);">plot</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">Ixs</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);"> course</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">Ixs</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(74,85,219);">)</span>
<span style="color:rgb(0,0,0);">ax</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(231,136,4);">gca</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">ax</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">data_bounds</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">1</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(188,143,143);">2</span><span style="color:rgb(74,85,219);">)</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">1</span> <span style="color:rgb(50,185,185);">length</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">course</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(0,0,0);">;
</span></pre>
?<br>
<br>
</body>
</html>