Hi guru's,
I'm using the LineCollection class because I colorize my line segments (the color is essentially a third dimension in the plot). However, I'd like a marker on the line points. Any suggestions on methods/attributes, or which other class to use?
Thanks,
Bart van Kuik
If you are using homogeneous markers (same color, size and shape),
just use "plot" to create a line with markers of the desired style
ax.plot(x, y, 'o')
If you want different colored markers, use scatter (which creates a
RegularPolyCollection).
JDH
ยทยทยท
On 2/27/07, Bart van Kuik <b.van.kuik@...1332...> wrote:
Hi guru's,
I'm using the LineCollection class because I colorize my line segments
(the color is essentially a third dimension in the plot). However, I'd
like a marker on the line points. Any suggestions on methods/attributes,
or which other class to use?