[matplotlib-devel] latex symbols as markers
Hi, Is there some way to add support for latex symbols as markers? I think it would be an extension of the current methods for plotting markers- since I dont think all the color, edge, line style etc properties would be relevant (or even possible). However, it would allow arbitrary symbols (at least whatever latex can do) to be used, which would be really useful. The current marker set is fine for most simple plots- but when there are a few different symbols it quickly becomes tricky to find a set which can easily be distinguished from each other. The other problem is that when preparing a graph for publication, it is occasionally necessary to be able to refer to or quote the symbols in the caption or the main text- and latex symbols in the graphs would make this look a bit better. I've had a quick look at how the marker symbols are implemented, and it is my impression that it would be reasonably hard to implement a new symbol of choice. On the other hand, since I am already using latex to produce all the text in the graph, it seems it should be fairly straightforward (with some careful attention to the positioning...) to use the same text-drawing code which is used for the legend, axes labels etc, to put the markers on the plot. Is there any interest in this? thanks, tcb -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] alpha/transparency now failing in scatter (after upgrade to Ubuntu 9.10)
Reporting this as a matplotlib bug because that's where I see the error. I have some code which was running fine, drawing a scatter plot with transparent/alpha for the colour, like this... ax1.scatter(sanjose_y,sanjose_x,color=(0.9,0.9,0.0,0.1),label='SanJose') This used to draw a very faint transparent series of points which (where there were a lot of points) built up a fairly solid colour. Now, after an upgrade to Ubuntu 9.10 I see only solid colour, no transparency/alpha at all. Also (a different problem), I get an error message (when adding a legend, that no labels were defined). This is also changed behaviour since the upgrade. Seems like scatter has changed... but why? I tried downloading matplotlib source code and compiling -- and despite a few glitches (like, it was by default Mac compilation) -- I think I got that going OK. Still, I see exactly the same behaviour. Scatter is behaving differently, and I really need that alpha/transparency!!! Neither of these problems were evident on Ubuntu 9.04, and I was using the inbuilt matplotlib for that. Please excuse if this report is in the wrong place -- my first attempt to report a bug in this package. Cheers A -- Andrew 'Boo' Davie -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel