On 2/27/07, Bart van Kuik <[EMAIL PROTECTED]> 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?

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to