[scilab-Users] 3d-plot of points, but assigning each point with a specific color, how?

Constellation Athome constellationathome at googlemail.com
Sun Mar 11 20:33:44 CET 2012


2012/3/11 Adrien Vogt-Schilb <vogt at centre-cired.fr>

>
> here is an example (without the loop on the clusters)
>
> plot3d
> e=gce()
> e.mark_mode = "on"; e.surface_mode = "off"
> e.mark_foreground=color(255,123,123)
> e.mark_style = 0
> e.mark_size = 5
> e.mark_size = .6
>
>
Ho do I loop through my cluster vectors like
x=[2 2 1 2 2.5 1.5 1.5 17 10 12 8];
y=[2 3 2 1 2.5 1.5 1.5 18 10 12 12];
z=[2 2 2 2 2.5 1.5 2 18 10 12 8];

and set the colors according to your e.XXX options?

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120311/9e32b394/attachment.htm>


More information about the users mailing list