<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
----- Message d'origine ----- <br>
De : Lucio Agostinho Rocha <br>
Date : 17/05/2009 20:26:
<blockquote cite="mid:84586.19399.qm@web52711.mail.re2.yahoo.com"
 type="cite">
  <table border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td
 style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;"
 valign="top">.../...<br>
Then, I tried to insert a new position in each list, like this:<br>
        <br>
   tx=length(x)+1;<br>
   ty=length(y)+1;<br>
   x(1,tx)=2;<br>
   y(1,ty)=1;<br>
   g(tx,ty)= x(tx) .* sin((4*%pi) * x(tx)) - y(ty) .* sin ( (4*%pi) * 
y(ty) + %pi ) + 1;<br>
        <br>
   plot3d(x,y,g)<br>
        <br>
But this don't work. I've several values for x and y like '0.8987...'
and '-0.321...'. How can I plot this points in my function? Some
suggestion?<br>
        <br>
Thanks in advance,<br>
        <br>
Lucio<br>
........</td>
      </tr>
    </tbody>
  </table>
</blockquote>
Here is a trick that may work for this purpose:<br>
After plot3d(), do a plot2d(Xp,Yp) where Xp and Yp are the 2 first
coordinates of your<br>
(Xp,Yp,Zp) set of points (Xp, Yp, Zp are vectors of same lengths N for
N points to be marked)<br>
<br>
Then, do: <br>
ca=gca();<br>
cc=ca.children(1).children(1);<br>
cc.data(:,3)=Zp;  // Be carefull: Zp must be a column-vector<br>
cc.line_mode='off';<br>
cc.mark_mode='on';<br>
cc.mark_style=8; // for diamonds. Run getmark() or see help
polyline_properties for other marks<br>
cc.mark_foreground=color('red');<br>
<br>
This should yield what you are expecting<br>
<br>
Regards<br>
Samuel<br>
<br>
</body>
</html>