Re: [Matplotlib-users] easy question on ytick label format

2012-06-01 Thread Mark Bakker
Thanks. Easy and useful. On Fri, Jun 1, 2012 at 7:23 PM, Tony Yu wrote: > >>> On 06/01/2012 02:58 PM, Mark Bakker wrote: >>> >>> Hello List, >>> >>> I want to plot plot([1000,2000]) >>> Then on the y-axis, I want labels 1 and 2, and at the top of the y-axis >>> I want E3. >>> This works automati

Re: [Matplotlib-users] easy question on ytick label format

2012-06-01 Thread Tony Yu
> > >> On 06/01/2012 02:58 PM, Mark Bakker wrote: >> >> Hello List, >> >> I want to plot plot([1000,2000]) >> Then on the y-axis, I want labels 1 and 2, and at the top of the y-axis I >> want E3. >> This works automatically with plot([1e7,2e7]). >> But I assume that is something that can be set for

Re: [Matplotlib-users] easy question on ytick label format

2012-06-01 Thread Mark Bakker
Thanks Zoltan. That sounds like an interesting video that I will watch. For now, does anybody know the answer? Mark On Fri, Jun 1, 2012 at 3:01 PM, Zoltán Vörös wrote: > I think, you could just watch the video by John Hunter. He discusses > these issues at length. > > http://marakana.com/s/ad

Re: [Matplotlib-users] Looking for additional help about moving a legend

2012-06-01 Thread Benjamin Root
On Thursday, May 31, 2012, solarg wrote: > hello all, > > i've tried it on my laptop, but got this error at the last line: > > >>> fig.savefig('samplefigure', bbox_extra_artists=(lgd,), > bbox_inches='tight') > Traceback (most recent call last): > File "", line 1, in > File > > "/Users/me/py

Re: [Matplotlib-users] easy question on ytick label format

2012-06-01 Thread Zoltán Vörös
I think, you could just watch the video by John Hunter. He discusses these issues at length. http://marakana.com/s/advanced_matplotlib_tutorial_with_library_author_john_hunter,1133/index.html Cheers, Zoltná On 06/01/2012 02:58 PM, Mark Bakker wrote: Hello List, I want to plot plot([1000,2000]

[Matplotlib-users] easy question on ytick label format

2012-06-01 Thread Mark Bakker
Hello List, I want to plot plot([1000,2000]) Then on the y-axis, I want labels 1 and 2, and at the top of the y-axis I want E3. This works automatically with plot([1e7,2e7]). But I assume that is something that can be set for plot([1e3,2e3]) as well. I have been browsing the examples, and tried t

Re: [Matplotlib-users] Subplot with multiple axes and change_geometry

2012-06-01 Thread stetogias
stetogias wrote: > > Hi, > > I have a figure with multiple subplots. > > In one of them I need to draw two barcharts. They have the same units in x > and y axes. > Apart from that I'm not sure this is what I need, when I use > change_geometry and I get an exception > on the twined axis since

[Matplotlib-users] Subplot with multiple axes and change_geometry

2012-06-01 Thread stetogias
Hi, I have a figure with multiple subplots. In one of them I need to draw two barcharts. They have the same units in x and y axes. Apart from that I'm not sure this is what I need, when I use change_geometry and I get an exception on the twined axis since it's an Axis object and not an AxisSubp