Re: [Matplotlib-users] List Archive

2011-05-05 Thread Benjamin Root
On Thursday, May 5, 2011, Nate Gallagher wrote: > Is there a list archive I can search to see if a question has been asked > before? > Thanks, > Nate > http://old.nabble.com/matplotlib---users-f2906.html There are others as well. These are good formviewing the archives. But for searches, I jus

[Matplotlib-users] List Archive

2011-05-05 Thread Nate Gallagher
Is there a list archive I can search to see if a question has been asked before? Thanks, Nate -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network mana

Re: [Matplotlib-users] UserWarning: Attempting to set identical bottom==top

2011-05-05 Thread C M
> Because you have a py2exe'ed program, I suspect that whoever packaged the > program should be the one to modify that program to choose its axes limits > more robustly in order to avoid the warning message. Maybe I have been unclear. I am the sole developer of this application, and I occasionall

Re: [Matplotlib-users] UserWarning: Attempting to set identical bottom==top

2011-05-05 Thread Benjamin Root
On Thu, May 5, 2011 at 9:04 PM, C M wrote: > On Thu, May 5, 2011 at 10:03 PM, C M wrote: > > On Thu, May 5, 2011 at 7:58 PM, Benjamin Root wrote: > >> > >> > >> On Sun, May 1, 2011 at 4:35 PM, C M wrote: > >>> > >>> I get this error and would like to know what to do to eliminate it and > >>> a

Re: [Matplotlib-users] [Repost: Note suggested patches] In mplot3d, how is format_zdata supposed to work? Why is sensible_format_data called?

2011-05-05 Thread Benjamin Root
On Thu, May 5, 2011 at 7:16 PM, Paul Leopardi wrote: > [Repost from 21 Mar 2011: note suggested patches] > > Hi all, > I am using Matplotlib 1.0.1 and am seeing weird behaviour with mplot3d and > ticker formatters, and I think I need to submit a patch to axes3d, but am > not > sure how much it wil

Re: [Matplotlib-users] UserWarning: Attempting to set identical bottom==top

2011-05-05 Thread C M
On Thu, May 5, 2011 at 10:03 PM, C M wrote: > On Thu, May 5, 2011 at 7:58 PM, Benjamin Root wrote: >> >> >> On Sun, May 1, 2011 at 4:35 PM, C M wrote: >>> >>> I get this error and would like to know what to do to eliminate it and >>> also what it means: >>> >>> C:\Python25\lib\site-packages\matp

Re: [Matplotlib-users] Save or pickle pyplot object

2011-05-05 Thread Benjamin Root
On Tue, Mar 29, 2011 at 8:35 AM, Andreas Reisinger < andreas.reisin...@tuwien.ac.at> wrote: > Hi! > > I would like to save a pyplot object as it is, including axes, lines, > text, etc. into a file. > When opening it again, I want to be able to add additional axes, lines > and so on. > > Unfortun

Re: [Matplotlib-users] matplotlib subplot is slow

2011-05-05 Thread Benjamin Root
On Thu, Mar 31, 2011 at 7:42 PM, Eddie Schlafly wrote: > Hi all, > > I was surprised today to notice that "subplot" was the slowest part of some > plotting code of mine. > > On my machine, the last line of the following code puts ten subplots on a > figure and records the amount of time it took t

Re: [Matplotlib-users] draw_event does not fire for savefig() when installing from source

2011-05-05 Thread Benjamin Root
On Thu, Apr 7, 2011 at 10:41 AM, Jeroen DR wrote: > Hi, > > I'm using the method described on > http://matplotlib.sourceforge.net/faq/howto_faq.html#howto-auto-adjust > to automatically adjust my subplot figures to make room for my axis > labels. I'm not drawing my graphs to the screen, but I'm in

Re: [Matplotlib-users] Animating plots with the Qt backend

2011-05-05 Thread Gerald Storer
Ah, I did not know that. I shall investigate. Thanks, Gerald. On 6/05/2011 7:27 AM, Benjamin Root wrote: On Tue, May 3, 2011 at 3:57 AM, Gerald Storer > wrote: Hello, I've been trying to animate some plots with the qt backend and run into a coupl

Re: [Matplotlib-users] No Display in Axes3D with Logarithmic axes

2011-05-05 Thread Benjamin Root
2011/4/3 hongleij > OS :Win7 SP1 > ActivePython-2.7.1.3-win32-x86.msi > numpy-1.5.1-win32-superpack-python2.7.exe > matplotlib-1.0.1.win32-py2.7.exe > > Code: > > from mpl_toolkits.mplot3d import axes3d > ax = axes3d.Axes3D(plt.gcf()) > #ax.set_xlim(1,10) > #ax.set_ylim(1,1000

Re: [Matplotlib-users] mplot3d and ticks

2011-05-05 Thread Benjamin Root
On Sat, Apr 16, 2011 at 8:17 AM, Giovanni Luca Ciampaglia < junkie.dolp...@gmail.com> wrote: > Is there a way to control the distance between the axis label and the > tick labels with mplot3d.Axes3D? For small figure sizes they overlap and > I haven't found a way to fix that. My last resort was to

Re: [Matplotlib-users] "minvalue must be less than or equal to maxvalue" error

2011-05-05 Thread Benjamin Root
On Mon, Apr 18, 2011 at 4:25 AM, Muffles wrote: > > Hello all, > i created some program to read from netcdf files and plot the data, and it > seems to work ok. But when i try to run an older file, it just shows this: > > Traceback (most recent call last): > File "netcdf2png.py", line 199, in >

Re: [Matplotlib-users] Customizing 3d plots

2011-05-05 Thread Benjamin Root
I apologize for the delay. I have not been paying attention to this mailing list for the past couple of months. My responses are below. On Wed, Apr 20, 2011 at 12:20 AM, José Alexandre Nalon wrote: > Greetings, > > I'm trying to use Matplotlib to plot 3d surfaces, with > good results. While the

Re: [Matplotlib-users] Saving figure for later editing

2011-05-05 Thread Benjamin Root
On Tue, Apr 26, 2011 at 3:02 PM, Eric Firing wrote: > On 04/26/2011 09:36 AM, butt...@gmail.com wrote: > > I believe this feature, which has been requested a number of times, but > > is still missing from matplotlib is genuinely useful for interactive > > plotting. Moreover, I've heard matlab has

Re: [Matplotlib-users] Search for a row with a pattern in a column

2011-05-05 Thread Benjamin Root
On Thu, Apr 28, 2011 at 1:13 PM, Pau wrote: > Hi, > > I am trying to "grep" in 650 data files a row which has a particular > number on column 2, namely " 0.250E+00 ". > > Alternatively, I could look for that row by searching for the first > column, which is " 1 ". > > Unfortunately, t

Re: [Matplotlib-users] Matplotlib trims off the figure plotted

2011-05-05 Thread Benjamin Root
On Fri, Apr 29, 2011 at 7:18 AM, Musa Gabere wrote: > Hi Everyone, > > I am currently using matplotlib version 0.99 Ubuntu operating system. > > I am plotting a figure whose script is as follows. The figure i get is > usually trimmed off. See the attached > figure. Is there a way to solve this pr

[Matplotlib-users] [Repost: Note suggested patches] In mplot3d, how is format_zdata supposed to work? Why is sensible_format_data called?

2011-05-05 Thread Paul Leopardi
[Repost from 21 Mar 2011: note suggested patches] Hi all, I am using Matplotlib 1.0.1 and am seeing weird behaviour with mplot3d and ticker formatters, and I think I need to submit a patch to axes3d, but am not sure how much it will break, because format_zdata() and format_coord() look to be de

Re: [Matplotlib-users] UserWarning: Attempting to set identical bottom==top

2011-05-05 Thread Benjamin Root
On Sun, May 1, 2011 at 4:35 PM, C M wrote: > I get this error and would like to know what to do to eliminate it and > also what it means: > > C:\Python25\lib\site-packages\matplotlib\axes.py:2571: > UserWarning: Attempting to set identical bottom==top results > in singular transformations; automa

Re: [Matplotlib-users] Roll and offset around viewpoint with Axes3D

2011-05-05 Thread Benjamin Root
On Thu, May 5, 2011 at 6:32 PM, Frederic Vogt wrote: > > As for the roll issue described below : > > how hard would it be to implement something similar to > > tr = Affine2D().scale(2, 1).rotate_deg(30) > > inside mplot3D ? Where should I start ? > > All I want basically is define my viewpoint wi

Re: [Matplotlib-users] fill with a semilogy axis?

2011-05-05 Thread Benjamin Root
On Tue, May 3, 2011 at 3:40 AM, K.-Michael Aye wrote: > A colleague posed an interesting challenge: > How to do a filled plot having the y-axis in logarithm? > I think I can do it with creating patches myself an adding it to the > axis, but isn't there anything built-in? > > Best regards, > Michae

Re: [Matplotlib-users] Roll and offset around viewpoint with Axes3D

2011-05-05 Thread Frederic Vogt
As for the roll issue described below : how hard would it be to implement something similar to tr = Affine2D().scale(2, 1).rotate_deg(30) inside mplot3D ? Where should I start ? All I want basically is define my viewpoint with 6 parameters (elev, azim, distance, roll, pitch and yaw), and not j

Re: [Matplotlib-users] Animating plots with the Qt backend

2011-05-05 Thread Benjamin Root
On Tue, May 3, 2011 at 3:57 AM, Gerald Storer wrote: > Hello, > > I've been trying to animate some plots with the qt backend and run into > a couple of problems. > > Firstly, > I'd like to be able to update the axis limits in an automated fashion as > the data changes size. > > Secondly, > Resizi

Re: [Matplotlib-users] removing lines from plot

2011-05-05 Thread Benjamin Root
On Wed, May 4, 2011 at 11:23 PM, wrote: > redlines.set_visible(False) > > it is also possible to delete the line from ax.lines. > Ex: del ax.lines[-1] deletes the last line. > > you need to perform a redraw for the change to be visible on the plot. > There are more "correct" ways to do this. F

Re: [Matplotlib-users] Asymmetrical arrangements of subplots

2011-05-05 Thread Benjamin Root
2011/5/4 Sebastian Krieger > Dear all, > > I have a small question about subplot. I want to avoid creating plot axes > manually using pylab.axes, to create an asymmetrical arrangement of subplots > like the following code in Matlab: > > figure > subplot(2,2,1:2) > text(.5,.5,'subplot(2,2,1:2)',

Re: [Matplotlib-users] mplot3d and plot_surface: How to 'hide' objects inside the surface

2011-05-05 Thread Benjamin Root
On Thursday, May 5, 2011, Alexander Dietz wrote: > Hi, > > I have the following situation. I have been following the example to create a > 3d surface, as explained here: > > http://matplotlib.sourceforge.net/examples/mplot3d/surface3d_demo2.html > > and I have altered the code slightly to plot a

Re: [Matplotlib-users] Subplot x-tick labels overlap with each other and with titles

2011-05-05 Thread Goyo
2011/5/5 Chris Rodgers : > 1) Is this the intended behavior of matplotlib, or is there something > wrong with my installation? This is by design, hspace and vspace are proportional to the size of each subplot. Also the number of ticks does not depend on the subplot or labels size (using the defaul

[Matplotlib-users] Subplot x-tick labels overlap with each other and with titles

2011-05-05 Thread Chris Rodgers
Hi Whenever I create figures with at least 3x3 subplots, the x-tick labels overlap with each other and they also overlap with the title of the adjacent subplot, rendering the entire figure illegible. I know that I can fine-tune the plot to look exactly the way I want with "wspace" and "hspace" for

[Matplotlib-users] mplot3d and plot_surface: How to 'hide' objects inside the surface

2011-05-05 Thread Alexander Dietz
Hi, I have the following situation. I have been following the example to create a 3d surface, as explained here: http://matplotlib.sourceforge.net/examples/mplot3d/surface3d_demo2.html and I have altered the code slightly to plot a straight red line from the center outside of the sphere (see cod

Re: [Matplotlib-users] Asymmetrical arrangements of subplots

2011-05-05 Thread Goyo
2011/5/5 Sebastian Krieger : > Dear all, > > I have a small question about subplot. I want to avoid creating plot axes > manually using pylab.axes, to create an asymmetrical arrangement of subplots > like the following code in Matlab: > > figure > subplot(2,2,1:2) > text(.5,.5,'subplot(2,2,1:2)',..

[Matplotlib-users] dynamically share axes

2011-05-05 Thread Michael Schmidt
Hi Everyone, I have several subplots in one figure, and I'm trying to dynamically display different subplots depending on user input. Everything works fine with the set_visible command, except that I'm running into a problem with shared axes. Basically, I'd like to be able to choose to display s