<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
<blockquote type="cite"> contour(X,Y,Z,1,flag=[0 1 4],zlev=0.);<br>
</blockquote>
<br>
You are setting an inappropriate mode in flag.<br>
<br>
Samuel<br>
<br>
<br>
Le 02/04/2017 à 09:16, <a class="moz-txt-link-abbreviated" href="mailto:paul.carrico@free.fr">paul.carrico@free.fr</a> a écrit :<br>
</div>
<blockquote cite="mid:68d9e03ec2c483bff2ba2f1ad89bdb4e@free.fr"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace">Hi</div>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace">I've been thinking that Scilab uses the closest zlev
than the one I'm specifying, based on the points I provided ...
am I correct?</div>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace">I've to find a way to create the points I need with
z=0 ....</div>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace">Paul</div>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace">Le 2017-04-01 23:42, <a moz-do-not-send="true"
href="mailto:paul.carrico@free.fr">paul.carrico@free.fr</a> a
écrit :
<blockquote type="cite" style="padding: 0 0.4em; border-left:
#1010ff 2px solid; margin: 0">Hi <br>
<br>
In the following example, I'm trying to add a single contour
line<br>
equals to z = 0, but I've another value: what am I doing
wrong? <br>
<br>
Thanks for the help <br>
<br>
Nota bene : I'm under 5.5.2 Scilab release <br>
<br>
Paul <br>
<br>
##########################################<br>
<br>
mode(0)<br>
<br>
X = linspace(0,1,10);<br>
Y = linspace(0,1,10);<br>
Z = rand(10,10) - rand(10,10);<br>
<br>
Z_min = min(Z);<br>
Z_max = max(Z);<br>
<br>
// plot3d<br>
<br>
scf();<br>
xset("colormap",jetcolormap(64)); <br>
drawlater() ;<br>
xtitle("Z following (X,Y)");<br>
colorbar(Z_min,Z_max); <br>
a=get("current_axes");<br>
a.x_label; x_label=a.x_label; x_label.text=" X";<br>
a.y_label; y_label=a.y_label; y_label.text=" Y";<br>
a.z_label; z_label=a.z_label; z_label.text=" Z";<br>
plot3d1(X,Y,Z,45,80);<br>
contour(X,Y,Z,1,flag=[0 1 4],zlev=0.);<br>
drawnow() ;<br>
_______________________________________________</blockquote>
</div>
</blockquote>
<br>
</body>
</html>