<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Bonjour,<br>
<br>
Le 28/04/2017 à 10:23, Vincent Flutet a écrit :<br>
</div>
<blockquote cite="mid:1493367817973-4036280.post@n3.nabble.com"
type="cite">
<pre wrap="">Je me suis peut être mal exprimé, mais le problème concerne graypolarplot.
Grayplot fonctionne correctement chez moi aussi.
Par exemple regardez l'évolution de l'échelle de couleur sur l'exemple
suivant.
En particulier le centre ne devrait pas rester en blanc.
J'ai fais l'essai sous Scilab 6.0, le problème reste le même.
-->r=[0:0.01:1];
-->t=[0:1:360]*%pi/180;
-->f=gcf();
-->f.color_map=jetcolormap(4);
-->graypolarplot(t,r,ones(t)'.*.r);
-->graypolarplot(t,r,2*ones(t)'.*.r);
-->graypolarplot(t,r,3*ones(t)'.*.r);
-->graypolarplot(t,r,4*ones(t)'.*.r);
-->graypolarplot(t,r,5*ones(t)'.*.r);
-->graypolarplot(t,r,10*ones(t)'.*.r);
</pre>
</blockquote>
<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(0,0,0);">r </span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(74,85,219);"> [</span><span style="color:rgb(188,143,143);">0</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(188,143,143);">0.01</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(188,143,143);">1</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">t</span><span style="color:rgb(92,92,92);"> = </span><span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">0</span><span style="color:rgb(255,170,0);">:</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);">360</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(92,92,92);">*</span><span style="color:rgb(218,112,214);">%pi</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(188,143,143);">180</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">clf reset
f</span><span style="color:rgb(92,92,92);"> = </span><span style="color:rgb(0,0,0);">gcf</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);">f</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">color_map</span><span style="color:rgb(92,92,92);"> = </span><span style="color:rgb(0,0,0);">jetcolormap</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">4</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">graypolarplot</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">t</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(0,0,0);">r</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">10</span><span style="color:rgb(92,92,92);">*</span><span style="color:rgb(50,185,185);">ones</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">t</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(92,92,92);">'</span><span style="color:rgb(92,92,92);">.*.</span><span style="color:rgb(0,0,0);">r</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;
ax = gca();
</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);">children</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">children</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(255,170,0);">$</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(92,92,92);">.</span><span style="color:rgb(170,170,170);">cdata_mapping</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">scaled</span><span style="color:rgb(188,143,143);">"
</span></pre>
vous aide-t-il ?<br>
<span style="color:rgb(188,143,143);"></span><br>
PS : il est toujours plus facile d'utiliser du code posté sans
prompts.<br>
<br>
<br>
<br>
</body>
</html>