[scilab-Users] A red point in plot3d

Samuel GOUGEON Samuel.Gougeon at univ-lemans.fr
Fri May 22 19:47:56 CEST 2009


----- Message d'origine -----
De : Samuel GOUGEON
Date : 18/05/2009 14:51:
> a trick that may work for this purpose:
> After plot3d(), do a plot2d(Xp,Yp) where Xp and Yp are the 2 first 
> coordinates of your
> (Xp,Yp,Zp) set of points (Xp, Yp, Zp are vectors of same lengths N for 
> N points to be marked)
>
> Then, do:
> ca=gca();
> cc=ca.children(1).children(1);
> cc.data(:,3)=Zp;  // Be carefull: Zp must be a column-vector
> cc.line_mode='off';
> cc.mark_mode='on';
> cc.mark_style=8; // for diamonds. Run getmark() or see help 
> polyline_properties for other marks
> cc.mark_foreground=color('red');
See also
http://requestzilla.scilab.org/attachment.cgi?id=39 for an alpha release 
of a plotPoints() function,
where style, size and color of marks can be tuned.
http://requestzilla.scilab.org/show_bug.cgi?id=645  for discussion

SG

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20090522/87b72986/attachment.htm>


More information about the users mailing list