[scilab-Users] plot dots in 3d and 2d using color

Samuel GOUGEON Samuel.Gougeon at univ-lemans.fr
Wed Feb 23 14:07:40 CET 2011


  Hello,

----- Message d'origine -----
De : Ding Zheng
Date : 23/02/2011 11:17:
>
> Hi
>
> I am trying plot dots 3d in Scilab. the data someting like x(1,n),y(1,n),z(1,
> n). I tried both plot3d(x,y,list(z,colors)) and param3d1(x,y,list(z,colors)).
> I made the colors las below:
>
> nc=256;
> colors =1+(nc-1)*(z-min(z))/(max(z)-min(z));
>
> the dots can be plotted. but the dots's color is always black. if use a
> colormap. xset("colormap",hotcolormap(256)). it also doesn't work.
>
> Can everyone help me?
>
You may have a look here:
http://bugzilla.scilab.org/show_bug.cgi?id=6344#c1
attachement: http://bugzilla.scilab.org/attachment.cgi?id=1465
plotPoints() plots a set a points with the desired color,
the same color for all points.

Regards
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110223/3401a3de/attachment.htm>


More information about the users mailing list