[Matplotlib-users] Formatting X-axis

2010-05-16 Thread rajtendulkar
I want to format my graph as in MS-Excel. I don't know what term to use for this. It looks like the X-axis has 2 labels on them. http://old.nabble.com/file/p28579609/omp_parallel.png I have showed it in the image that is generated from Excel. I want to have exactly the same using matplotlib. C

Re: [Matplotlib-users] plot() resets limits?

2010-05-16 Thread Philipp K. Janert
Thanks, that was helpful. On Sunday 16 May 2010 02:23:02 pm Eric Firing wrote: > On 05/16/2010 10:19 AM, Philipp K. Janert wrote: > > Let's say I am running an interactive session > > (ipython -pylab), and now issue the following > > commands: > > > > x = linspace(0, 10, 100 ) > > plot( x

Re: [Matplotlib-users] plot() resets limits?

2010-05-16 Thread Eric Firing
On 05/16/2010 10:19 AM, Philipp K. Janert wrote: > > Let's say I am running an interactive session > (ipython -pylab), and now issue the following > commands: > > x = linspace(0, 10, 100 ) > plot( x, sin(x) ) > ylim( -2, 2 ) > plot( x, cos(x) ) > > Then the second plo

[Matplotlib-users] plot() resets limits?

2010-05-16 Thread Philipp K. Janert
Let's say I am running an interactive session (ipython -pylab), and now issue the following commands: x = linspace(0, 10, 100 ) plot( x, sin(x) ) ylim( -2, 2 ) plot( x, cos(x) ) Then the second plot command seems to reset the plot limits to [-1,1] - which

[Matplotlib-users] How to remove an element from a graph?

2010-05-16 Thread Philipp K. Janert
Assume I am running an interactive session, using ipython -pylab and have added a bunch of curves x = linspace(0, 10, 100 ) plot( x, sin(x) ) plot( x, cos(x) ) and also added a text label text( 1, 1, "Hello" ) But now I decide that I don't want the text

Re: [Matplotlib-users] Matplotlib crashes on mouse event

2010-05-16 Thread Fabrice Silva
FIY, with the help of Sylvestre Ledru (debian atlas maintainer), the problem was solved installing libatlas3g-sse*. -- ___ Matplotlib-users mailing list Matplotlib-users@lists

[Matplotlib-users] imshow memory consuption problem when using GTKAgg backend

2010-05-16 Thread Tomáš Faragó
Hello, I am writing a GUI using GTK+ library. I have a question about axes class imshow method memory consumption. If I pass the imshow an array, the resulting memory consuption is approximatelly 40 times greater than the array size. If I do not add the canvas to a window (in a code below), the