[Matplotlib-users] PSD amplitude disparity

2010-03-02 Thread Dunx
Hi, I know about the difference between pylab.psd and mlab.psd, but in theory the only difference between the returned values is: pylab.psd = 10*log10(mlab.psd) Except this is not true, there is noticeable difference: pylab.psd = 23.4962 (all these pylab.psd values are read from graph)

[Matplotlib-users] Plotting 2 Y Vars 1 X Var

2010-03-02 Thread kotsumu
I have a X Variable in years and 2 y variables. That I want to plot on a single graph. I have already listed my X variable and 2 y variables in a list but I don't know how to plot them on the single graph. My x variable for example 1948 is not in the scale of for example 0.48... What should I

[Matplotlib-users] Problems seeing a png created with matplotlib in firefox

2010-03-02 Thread Alexander Dietz
Hi, I have trouble seeing a png image that I have created with matplotlib (0.99.1.1) in my firefox browser( 2.6) and I am not sure if it is a browser issue of a bug in matplotlib. Here are two examples of the image: This is the original image created with the script in the same directory (and

Re: [Matplotlib-users] Problems seeing a png created with matplotlib in firefox

2010-03-02 Thread Johann Rohwer
On Tuesday 02 March 2010, Alexander Dietz wrote: This is the original image created with the script in the same directory (and which I can't see. I don't neither get a warning nor an error, just a bnalk screen: http://atlas3.atlas.aei.uni-hannover.de/~dietz/Test/test.png while this one I

Re: [Matplotlib-users] Problems seeing a png created with matplotlib in firefox

2010-03-02 Thread Alexander Dietz
Hi, thanks for testing. So it looks like a bug in firefox from 3.5.8 - 3.6, or do you see any strange things happening in the file to create this image? Cheers Alex On Tue, Mar 2, 2010 at 14:19, Johann Rohwer j...@sun.ac.za wrote: On Tuesday 02 March 2010, Alexander Dietz wrote: This is

Re: [Matplotlib-users] Problems seeing a png created with matplotlib in firefox

2010-03-02 Thread Renato Alves
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quoting Alexander Dietz on 03/02/2010 01:27 PM: Hi, thanks for testing. So it looks like a bug in firefox from 3.5.8 - 3.6, or do you see any strange things happening in the file to create this image? Tested here on firefox 3.6 (Ubuntu) and I

Re: [Matplotlib-users] Plotting 2 Y Vars 1 X Var

2010-03-02 Thread John Hunter
On Mon, Mar 1, 2010 at 8:30 PM, kotsumu trust_...@hotmail.com wrote: I have a X Variable in years and 2 y variables. That I want to plot on a single graph. I have already listed my X variable and 2 y variables in a list but I don't know how to plot them on the single graph. My x variable

Re: [Matplotlib-users] Problems seeing a png created with matplotlib in firefox

2010-03-02 Thread John Hunter
On Tue, Mar 2, 2010 at 4:05 AM, Alexander Dietz alexander.di...@lapp.in2p3.fr wrote: Hi, I have trouble seeing a png image that I have created with matplotlib (0.99.1.1) in my firefox browser( 2.6) and I am not sure if it is a browser issue of a bug in matplotlib. Strange -- I can see it

Re: [Matplotlib-users] Problems seeing a png created with matplotlib in firefox

2010-03-02 Thread Alexander Dietz
Hi, that is very interesting. So what about the following image: test_large.png which has been create with the exact same code. Does this file has an alpha channel? Because this file I can see clearly on my browser. Cheers Alex On Tue, Mar 2, 2010 at 15:05, Renato Alves

Re: [Matplotlib-users] Embedding matplotlib in Tkinter Applications

2010-03-02 Thread Alan G Isaac
On 2/25/2010 6:22 PM, Friedrich Romstedt wrote: Ok, it's rereleased now under MIT, github.com/friedrichromstedt/diagram_cl . I'm having somewhat trouble accessing my web server at the moment, so please find it on github. The docu onwww.friedrichromstedt.org Including the link

Re: [Matplotlib-users] PSD amplitude disparity

2010-03-02 Thread John Hunter
On Tue, Mar 2, 2010 at 5:13 AM, Dunx d...@hotmail.co.uk wrote: Hi, I know about the difference between pylab.psd and mlab.psd, but in theory the only difference between the returned values is: pylab.psd = 10*log10(mlab.psd) Except this is not true, there is noticeable difference:

[Matplotlib-users] EPD 6.1 Upcoming Webinars

2010-03-02 Thread Amenity Applewhite
March is shaping up to be as busy as ever: planning SciPy 2010 (http://conference.scipy.org/scipy2010), two great webinars...and a new release of EPD! * Enthought Python Distribution 6.1 * In EPD 6.1, NumPy and SciPy are dynamically linked against the MKL linear algebra routines. This allows

[Matplotlib-users] Axes3D and basemap

2010-03-02 Thread John [H2O]
Has anyone ever used a basemap instance as the 'floor' of an Axes3D plot? What I'm looking for is example code to do something like this: http://www.dfanning.com/tips/scatter3d_on_map.jpg Thanks, john -- View this message in context:

[Matplotlib-users] Comma in LaTeX preamble

2010-03-02 Thread Heiko Bauke
Hi, I use the text.latex.preamble rc setting to customize my plots. Everything works fine. However, a comma in this rc setting is interpreted as a new-line, thus, I wonder how can I create a LaTeX preamble that contains a comma? The statement

Re: [Matplotlib-users] Axes3D and basemap

2010-03-02 Thread Ben Axelrod
Here is a partial solution. If you use the SVN code, check out this example: http://matplotlib.sourceforge.net/trunk-docs/examples/mplot3d/pathpatch3d_demo.html I haven't ever done it, but I think you can create some kind of image patch. -Ben -Original Message- From: John [H2O]

Re: [Matplotlib-users] Polar Photometry Plots?

2010-03-02 Thread Jae-Joon Lee
Do you have any link to an example plot? I googled it but not much luck. Is it like a polar plot without the bottom half? Regards, -JJ On Tue, Mar 2, 2010 at 1:48 AM, R Fritz rfr...@u.washington.edu wrote: I'd like to be able to generate type C photometry plots with matplotlib. The standard

Re: [Matplotlib-users] Importing pylab causes exception - any ideas?

2010-03-02 Thread Friedrich Romstedt
Bringing this to the list and not to Jon alone ... 2010/3/1 Jon Moore jonr_mo...@yahoo.co.uk: I'm using the Python(x,y) distribution which comes with matplotlib for Windows. My OS is Windows XP with all updates and service packs on an AMD Athlon 2600+ PC with ATI Radeon 9600 graiphics card.

[Matplotlib-users] Lambert transform plot for hemisphere

2010-03-02 Thread Angus McMorland
Hi all, I'm playing around with plotting with the Lambert transform. I want to only plot one hemisphere at a time. I see that if I create the appropriate axes: ax = plt.subplot(111, projection='lambert') the resulting axis object's ax.get_xlim() and ax.get_ylim() methods give the limits in

[Matplotlib-users] Runtime customization of plots

2010-03-02 Thread Andrea Gavana
Hi All, I believe this question has been already asked in the past (I found something at http://old.nabble.com/A-good,-interactive-plotting-package-td15396445.html). I use matplotlib extensively in our applications, and some of my users repetitively asked for a way to customize *in runtime*

Re: [Matplotlib-users] Runtime customization of plots

2010-03-02 Thread Gökhan Sever
On Tue, Mar 2, 2010 at 5:57 PM, Andrea Gavana andrea.gav...@gmail.comwrote: Hi All, I believe this question has been already asked in the past (I found something at http://old.nabble.com/A-good,-interactive-plotting-package-td15396445.html ). I use matplotlib extensively in our

Re: [Matplotlib-users] Polar Photometry Plots?

2010-03-02 Thread R Fritz
You can see an example on the second page of http://lightolier.com/MKACatpdfs/8011.PDF.  Scroll down.  The plot is next to the table titled, candlepower summary.  It's a quadrant rather than a full circle, and it's clipped to a box, but it's still a polar plot. The only problem I have with

Re: [Matplotlib-users] Optimal positioning of text

2010-03-02 Thread Jae-Joon Lee
I tried to put some code to check overlapping texts. The code runs, but I'm not sure if the code is correct. Texts still overlap but I haven't checked if this is due to the incorrect code or the input. But I believe it gives you enough idea how to fix things. You have several hundreds of

Re: [Matplotlib-users] Polar Photometry Plots?

2010-03-02 Thread Jae-Joon Lee
The current implementation of PolarAxes does not support that. However, you can workaround this easily using a custom axes. In http://matplotlib.sourceforge.net/examples/pylab_examples/polar_demo.html Instead of ax = fig.add_axes([0.1, 0.1, 0.8, 0.8], polar=True, axisbg='#d5de9c') use