Re: [Matplotlib-users] Screenshot on homepage

2010-08-14 Thread Simon Friedberger
On 8/12/10 10:57 PM, Aman Thakral wrote: > I'm fairly sure its just a contour plot with different color mappings > for the lines and the fill. Yeah, I think so but I can't get it right. So if anybody knows what to grep/search for in revisions or which revision it was in that would be much apprecia

[Matplotlib-users] Screenshot on homepage

2010-08-12 Thread Simon Friedberger
Hi list members. Does anybody know how to create the graph in the middle of this http://matplotlib.sourceforge.net/_static/logo_sidebar_horiz.png image on the homepage. I can't find it in the examples and suspect it may have been taken out in a previous revision. Does anybody remember? Best Simon

[Matplotlib-users] hbars with different labels left and right

2010-08-08 Thread Simon Friedberger
Hi list members! I'm not sure if this is bad style or anything but I'm trying to do something like in this example: http://matplotlib.sourceforge.net/examples/pylab_examples/barchart_demo2.html I would like to haver different labels on both sides. a) I tried using the twinx() command like in that

Re: [Matplotlib-users] Confusion Matrix

2010-08-08 Thread Simon Friedberger
On 16:00 Fri 06.08.10, Simon Friedberger wrote: > It is about the positioning of the rotated labels. > The code is here: > http://paste.pocoo.org/show/246870/ > > Note that in line 36 I had already remarked about the hack I used. Now I > noticed that if the labels have differen

Re: [Matplotlib-users] Confusion Matrix

2010-08-06 Thread Simon Friedberger
On 09:29 Sat 31.07.10, Friedrich Romstedt wrote: > What you will want to use is .set_tick_params(top=True, > labeltop=False, labelbottom=False) . That worked indeed but I have uncovered another problem. It is about the positioning of the rotated labels. The code is here: http://paste.pocoo.org/sh

Re: [Matplotlib-users] Confusion Matrix

2010-07-29 Thread Simon Friedberger
For some magical reason when I set the ticks_position to none, setting the label_position to 'top' is ignored. Did you try this? Is it another command arrangement thing? On 09:26 Thu 29.07.10, Friedrich Romstedt wrote: > axis.set_label_position('top') > axis.set_ticks_position('none') ---

Re: [Matplotlib-users] Confusion Matrix

2010-07-28 Thread Simon Friedberger
On 18:32 Sun 18.07.10, Friedrich Romstedt wrote: > Try to add: > ax.set_xticks(range(0, 10)) > ax.set_yticks(range(0, 10)) > > before the imshow call. > > For some reason it must happen before the imshow call and not after, > else the yscaling will change (I don't understand this). Thanks for th

Re: [Matplotlib-users] Confusion Matrix

2010-07-18 Thread Simon Friedberger
On 22:49 Sat 17.07.10, Friedrich Romstedt wrote: > Maybe try to use axes.set_xticks() first, see > http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_xticks > . I know about that but couldn't find any useful way. Could you be more specific? > Your code on pocoo is messed

[Matplotlib-users] Text alignment

2010-07-16 Thread Simon Friedberger
Hello List. Is it just me or does the alignment in the picture at http://matplotlib.sourceforge.net/users/text_props.html look off? Best Simon -- This SF.net email is sponsored by Sprint What will you do first with EVO,

[Matplotlib-users] Confusion Matrix

2010-07-16 Thread Simon Friedberger
Hello List. I'm trying to plot a confusion matrix and I got this far: http://paste.pocoo.org/show/238332/ Basically what I still want to do is get the ticklabels from the bottom to the top, have every ticklabel shown and start showing them from the first not from the second. I have experimented