From: Fabrice P. Laussy on
A bit over a year ago in this forum, it was discussed how to speed up
considerably the plotting of a set of points by passing the list to
Point rather than applying Point to each element of the list ([1], see
also [2]).

My question is: what happens if each point needs to be of a different
color? Does this mean one is stuck with the painfully slow
each-element-at-a-time method? This seems a silly problem because
instead of encoding the color as such, one could dealt with it as a
third coordinate, and then the global treatment of all points together
could apply (for instance, plotting {(x1,y1,z1), (x2,y2,z2), etc} as 3D
points rather than as 2D with color).

[1]
http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/b21c73a465ff45ce#
[2]
http://reference.wolfram.com/mathematica/tutorial/EfficientRepresentationOfManyPrimitives.html

From: Yves Klett on
Hi,

in Version 7, Point also makes use of the VertexColors option. From
documentation (works as well for 3D points):

Graphics[{PointSize[0.1],
Point[{{0, 0}, {2, 1}}, VertexColors -> {Red, Green}]}]

Regards,
Yves

Am 01.03.2010 14:06, schrieb Fabrice P. Laussy:
> A bit over a year ago in this forum, it was discussed how to speed up
> considerably the plotting of a set of points by passing the list to
> Point rather than applying Point to each element of the list ([1], see
> also [2]).
>
> My question is: what happens if each point needs to be of a different
> color? Does this mean one is stuck with the painfully slow
> each-element-at-a-time method? This seems a silly problem because
> instead of encoding the color as such, one could dealt with it as a
> third coordinate, and then the global treatment of all points together
> could apply (for instance, plotting {(x1,y1,z1), (x2,y2,z2), etc} as 3D
> points rather than as 2D with color).
>
> [1]
> http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/b21c73a465ff45ce#
> [2]
> http://reference.wolfram.com/mathematica/tutorial/EfficientRepresentationOfManyPrimitives.html
>