plot dots in 3d and 2d using color

Ding Zheng Ding.Zheng at reson.com
Wed Feb 23 11:17:09 CET 2011


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?

Thanks in advance.


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


More information about the users mailing list