Re: [Matplotlib-users] How by clicking an axes label open a dialog?

2010-09-15 Thread sa6113
Whould you please help me? I am looking forward. sa6113 wrote: I want to use backendQtAgg inorder to imbed plot dialog into basic dialog and by clicking the labels open plot option. I couldn't use 'motion_notify_event' because the event only handles into plot area not in canvas area!!!

Re: [Matplotlib-users] How by clicking an axes label open a dialog?

2010-09-15 Thread sa6113
Whould you please help me? I am looking forward. sa6113 wrote: I want to use backendQtAgg inorder to imbed plot dialog into basic dialog and by clicking the labels open plot option. I couldn't use 'motion_notify_event' because the event only handles into plot area not in canvas area!!!

Re: [Matplotlib-users] problem building matplotlib

2010-09-15 Thread Eric Firing
On 09/14/2010 01:36 PM, Dan Kortschak wrote: Hello, I just tried to have just tried to build matplotlib, but it fails - and is unable to find wxPython (looking under 2.8 rather than 2.6 where is lives - installed from source) or libgtk-2 headers (installed from apt repo). Can anyone

[Matplotlib-users] Matplotlib and PySide ?

2010-09-15 Thread David Trémouilles
Hello, Does anybody know if matplotlib work with pyside ? If it does how to use matplotib with pyside ? Thanks, David -- Start uncovering the many advantages of virtual appliances and start using them to simplify

Re: [Matplotlib-users] problem building matplotlib

2010-09-15 Thread Dan Kortschak
Thanks Eric, The gui dependencies are secondary, but I will look into that. Since they are optional, the absence of them should not be the cause of the failure, but it looks like it might be. Is that the case? cheers Dan On Tue, 2010-09-14 at 21:42 -1000, Eric Firing wrote: On 09/14/2010 01:36

Re: [Matplotlib-users] problem building matplotlib

2010-09-15 Thread Dan Kortschak
I've just has a look at that and unfortunately it does not fix the problem Is there any other suggestion that might be worth a try? I should point out that I already have numpy 1.4.1 installed and scipy 0.8.0 as dependencies for other packages. thanks Dan On Tue, 2010-09-14 at 21:42 -1000,

[Matplotlib-users] quiver units

2010-09-15 Thread Oz Nahum
Hi Everyone, I'm trying to make a quiver plot using the example in examples collection. The documentation says that I can define the arrow units as: ** *units*: [‘width’ | ‘height’ | ‘dots’ | ‘inches’ | ‘x’ | ‘y’ | ‘xy’]so I did: from pylab import * from numpy import ma X,Y = meshgrid(

Re: [Matplotlib-users] quiver units

2010-09-15 Thread Ryan May
On Wed, Sep 15, 2010 at 7:27 AM, Oz Nahum nahu...@gmail.com wrote: Hi Everyone, I'm trying to make a quiver plot using the example in examples collection. The documentation says that I can define the arrow units as: units: [‘width’ | ‘height’ | ‘dots’ | ‘inches’ | ‘x’ | ‘y’ | ‘xy’]so I did:

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread freeeeeekk
Thanks! This got it working. Also thanks to the other for explaining why python does it. I understand the reason, but I think its weird to have that as the default setting. efiring wrote: On 09/11/2010 11:12 AM, freekk wrote: Im trying to do a very simple x vs y plot. Where the x

Re: [Matplotlib-users] Matplotlib and PySide ?

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 3:03 AM, David Trémouilles david.t...@gmail.comwrote: Hello, Does anybody know if matplotlib work with pyside ? If it does how to use matplotib with pyside ? Thanks, David David, I am not familiar with PySide, so I looked it up. Please correct me if I am

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread Benjamin Root
On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron jan.skow...@gmail.com wrote: Hi, apropos this offset discussion. matplotlib makes offsets not aligned to the full tens or some other easy number with small amount of non-zero digits in front? For example having ticks: 4917, 4918, 4919, 4920,

Re: [Matplotlib-users] Ternary Plotting using Matplotlib

2010-09-15 Thread Benjamin Root
On Tue, Sep 14, 2010 at 10:37 AM, Lab Rat wi.lab...@gmail.com wrote: I saw some 3d ternary plots on the URL: http://www.hca.com/index.php?id=76L=0 that I'd love to recreate using matplotlib. Can anyone give me some general code examples of where I should likely begin? Thanks in advance!

Re: [Matplotlib-users] Ternary Plotting using Matplotlib

2010-09-15 Thread Uri Laserson
I believe that Chloe Lewis may have posted about this before. She has code for doing some ternary plotting type stuff that may be a good place to start for you: http://nature.berkeley.edu/~chlewis/Sourcecode.html Uri On Wed, Sep 15, 2010 at 11:23, Benjamin Root ben.r...@ou.edu wrote: On Tue,

Re: [Matplotlib-users] Ternary Plotting using Matplotlib

2010-09-15 Thread Chloe Lewis
Lab Rat, Ben; Yes, you could use the ternary code I've put together to do the CAC plots in 2D; defining a complete triangular grid and triangular patches would be easy. If I'm reading the examples correctly, all the third-dimension information duplicates the color information. They're

Re: [Matplotlib-users] problem building matplotlib

2010-09-15 Thread Eric Firing
On 09/15/2010 03:50 AM, Benjamin Root wrote: On Wed, Sep 15, 2010 at 5:34 AM, Dan Kortschak dan.kortsc...@adelaide.edu.au mailto:dan.kortsc...@adelaide.edu.au wrote: I've just has a look at that and unfortunately it does not fix the problem Is there any other suggestion that

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread Eric Firing
On 09/15/2010 04:55 AM, Benjamin Root wrote: On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron jan.skow...@gmail.com mailto:jan.skow...@gmail.com wrote: Hi, apropos this offset discussion. matplotlib makes offsets not aligned to the full tens or some other easy number with small

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 12:37 PM, Eric Firing efir...@hawaii.edu wrote: On 09/15/2010 04:55 AM, Benjamin Root wrote: On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron jan.skow...@gmail.com mailto:jan.skow...@gmail.com wrote: Hi, apropos this offset discussion. matplotlib

Re: [Matplotlib-users] weird behaviour in x axis

2010-09-15 Thread Eric Firing
On 09/15/2010 08:25 AM, Benjamin Root wrote: On Wed, Sep 15, 2010 at 12:37 PM, Eric Firing efir...@hawaii.edu mailto:efir...@hawaii.edu wrote: On 09/15/2010 04:55 AM, Benjamin Root wrote: On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron jan.skow...@gmail.com

[Matplotlib-users] Level surface of a function of 3 variables

2010-09-15 Thread Luke
I have a function of three variables and am interested in plotting the zero level surface: f(x,y,z) = 0 Is there a simple way to plot this level surface in 3-D without having to resort to meshing up x and y, and solving for the z that satisfies the equation? I can do this, but it gets messy

[Matplotlib-users] Error

2010-09-15 Thread Waléria Antunes David
Hi, My problem is that: http://pastebin.com/ZPzdC5c8 but on my code: http://pastebin.com/Rgbm2Fgd I include the *use* command as a firstline what could be? Thanks Waleria -- Start uncovering the many advantages of

Re: [Matplotlib-users] Permission error after installing MPL 1.0 on Mac

2010-09-15 Thread tom
Jeremy Conlin jlcon...@... writes: I recently installed MPL on two Macs, one running 10.6 and another running 10.5. When I try to plot, I get the following error: TclError: couldn't open /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/

Re: [Matplotlib-users] Error

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 2:29 PM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi, My problem is that: http://pastebin.com/ZPzdC5c8 but on my code: http://pastebin.com/Rgbm2Fgd I include the *use* command as a firstline what could be? Thanks Waleria Waleria, I don't think

Re: [Matplotlib-users] Permission error after installing MPL 1.0 on Mac

2010-09-15 Thread Friedrich Romstedt
2010/9/15 tom tom.chris...@gmail.com: Jeremy Conlin jlcon...@... writes: I recently installed MPL on two Macs, one running 10.6 and another running 10.5.  When I try to plot, I get the following error: TclError: couldn't open /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/

Re: [Matplotlib-users] problem building matplotlib

2010-09-15 Thread Dan Kortschak
That fixes the problem. thanks On Wed, 2010-09-15 at 07:30 -1000, Eric Firing wrote: Looking again at the original build output, and at setup.py and setupext.py, it appears that there is a bug in the latter. If the wrong version of wx is found, it should be disabling the attempt to build

Re: [Matplotlib-users] problem building matplotlib

2010-09-15 Thread Eric Firing
On 09/15/2010 01:17 PM, Dan Kortschak wrote: That fixes the problem. thanks On Wed, 2010-09-15 at 07:30 -1000, Eric Firing wrote: Looking again at the original build output, and at setup.py and setupext.py, it appears that there is a bug in the latter. If the wrong version of wx is

Re: [Matplotlib-users] Error

2010-09-15 Thread Ryan May
On Wed, Sep 15, 2010 at 4:45 PM, Benjamin Root ben.r...@ou.edu wrote: Also, I would be cautious about using both pylab and matplotlib.pyplot in the same code.  These modules each make different assumptions about how you code and mixing them can cause some odd behaviors. Do you have a specific

Re: [Matplotlib-users] Error

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 8:07 PM, Ryan May rma...@gmail.com wrote: On Wed, Sep 15, 2010 at 4:45 PM, Benjamin Root ben.r...@ou.edu wrote: Also, I would be cautious about using both pylab and matplotlib.pyplot in the same code. These modules each make different assumptions about how you

Re: [Matplotlib-users] Level surface of a function of 3 variables

2010-09-15 Thread Daπid
I think you can make it with pyplot.contourf() and the argument V http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.contour contour(Z,V) contour(X,Y,Z,V) draw contour lines at the values specified in sequence V On Wed, Sep 15, 2010 at 9:02 PM, Luke hazelnu...@gmail.com

[Matplotlib-users] Z channel

2010-09-15 Thread Daπid
Does MPL support in any way the Z channel? If not, is there any possibility to use it? For example, to create a parallel matrix of the same dimensions of the image with the values of Z in each pixel. Thank you very much. David.