<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<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 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 /> _______________________________________________<br /> users mailing list<br /> <a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br /> <a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank" rel="noreferrer">http://lists.scilab.org/mailman/listinfo/users</a></blockquote>
</div>
</body></html>