Re: [Matplotlib-users] per-element marker - possible? how to?
John Owens john_ow...@yahoo.com writes: plot([1,2,3], [1,4,9], markerlist=['A', 'B', 'C']) and have it draw the first point with a rendered letter 'A', the second with a 'B', and the third with a 'C'. You could do text(1,1,'A') text(2,4,'B') text(3,9,'C') -- Jouni K. Seppänen http://www.iki.fi/jks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] per-element marker - possible? how to?
Jouni K. Seppänen j...@... writes: John Owens john_ow...@... writes: plot([1,2,3], [1,4,9], markerlist=['A', 'B', 'C']) and have it draw the first point with a rendered letter 'A', the second with a 'B', and the third with a 'C'. You could do text(1,1,'A') text(2,4,'B') text(3,9,'C') Quite sensible, thanks! DW also suggests You can use the 'hold' command to plot multiple vectors on the same plot, each with its own marker. Neither of those is ideal - it would be much nicer to be able to pass either a {marker list, text list} as an argument to the plot command directly - but at least the workaround is reasonable. JDO -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] per-element marker - possible? how to?
So I can do: plot([1,2,3], [1,4,9], marker='+') and it'll draw 3 points each with a + marker. What I'd really like to do is plot([1,2,3], [1,4,9], markerlist=['A', 'B', 'C']) and have it draw the first point with a rendered letter 'A', the second with a 'B', and the third with a 'C'. 1) Not sure how to draw a letter as my marker - are markers limited to those in the marker list? Is that possible? 2) And is it possible to have a different marker for each point in a dataset, specified by a vector? I guess I could draw a separate plot for each point, but that's an enormous kludge. JDO -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users