Re: [Matplotlib-users] display data in histogram

2009-11-04 Thread Matthias Michler
Hi ankita, On Wednesday 04 November 2009 06:04:55 ankita dutta wrote: hi all, I am working on some graph stuffs and stuck at a point. I am trying to plot a histogram using simple : *import matplotlib.pyplot as plt . . plt.hist(x,bins=10,histtype='bar') plt.show() * but i want to know

Re: [Matplotlib-users] basemap: Mask the ocean [SEC=UNCLASSIFIED]

2009-11-04 Thread Stephane Raynaud
Maybe using path clipping you can plot only over land like this : -- import numpy as np from mpl_toolkits.basemap import Basemap import pylab as plt import matplotlib.patches as patches import matplotlib.transforms as

[Matplotlib-users] Install problem on Mac OS 10.5

2009-11-04 Thread priggs
Hi When I try installing matplotlib version 99.1.1 on my Mac OS 10.5 using the DMG I receive the following error: You cannot install matplotlib 0.99.1.1-r7813 on this volume. matplotlib requires System Python 2.5 to install. But I am using System Python 2.5: Python 2.5.1 (r251:54863, Feb 6

Re: [Matplotlib-users] Legend fails to make sample symbols for legends outside of the plot area

2009-11-04 Thread Jae-Joon Lee
On Wed, Nov 4, 2009 at 12:00 AM, Greg Novak no...@ucolick.org wrote: Is this the intended behavior?  How can I get complete sample lines when the legend lies outside the plot area? No, this is not intended. It seems to me that wrong clip path is set for those legend handles. However, your code

Re: [Matplotlib-users] Legend fails to make sample symbols for legends outside of the plot area

2009-11-04 Thread Greg Novak
Indeed, my version is 98.3. I'll update. Thanks! Greg On Wed, Nov 4, 2009 at 9:03 AM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Wed, Nov 4, 2009 at 12:00 AM, Greg Novak no...@ucolick.org wrote: Is this the intended behavior?  How can I get complete sample lines when the legend lies outside

Re: [Matplotlib-users] cone plots

2009-11-04 Thread Jae-Joon Lee
Are you running svn version of mpl? Also, as I said, the example is based on the patch yet to be submitted. So, I can send you the example, but it will take me sometime to commit the patch. I'll give you a notice when this happen. As far as rotating the ticks, if you're using markers, than I

Re: [Matplotlib-users] Location matplotlibrc file on my Mac

2009-11-04 Thread PHobson
-Original Message- From: Tony S Yu [mailto:ton...@mit.edu] Sent: Tuesday, November 03, 2009 1:11 PM To: Paul Hobson Cc: Matplotlib Users Subject: Re: [Matplotlib-users] Location matplotlibrc file on my Mac (Paul, I hope you don't mind if I bring this bump this back to the

Re: [Matplotlib-users] Drawing a single contour line

2009-11-04 Thread Brendan Arnold
Ah, I was a little confused by what you wrote John (I though I had to access contour through the axes object and the meaning of R, F, dR was a little unclear..) however using the 'levels' keyword now works. i.e. plt.contour(x, y, z, levels=[0]) Incidentally, this keyword (levels) is not

[Matplotlib-users] How do I change where MPL looks for Latex?

2009-11-04 Thread PHobson
I know support for the usetex feature is limited, but I think (*hope*) that this is purely an MPL question and not out of the scope and annoying to the members of the group. I like to use the fourier.sty package since I like the Utopia font and it's math font is particularly nice. But MPL is

Re: [Matplotlib-users] How do I change where MPL looks for Latex?

2009-11-04 Thread John Hunter
On Wed, Nov 4, 2009 at 11:25 AM, phob...@geosyntec.com wrote: I know support for the usetex feature is limited, but I think (*hope*) that this is purely an MPL question and not out of the scope and annoying to the members of the group. I like to use the fourier.sty package since I like the

Re: [Matplotlib-users] How do I change where MPL looks for Latex?

2009-11-04 Thread PHobson
On Wed, Nov 4, 2009 at 11:25 AM, phob...@geosyntec.com wrote: I know support for the usetex feature is limited, but I think (*hope*) that this is purely an MPL question and not out of the scope and annoying to the members of the group. I like to use the fourier.sty package since I like

[Matplotlib-users] mplot3d: bar3d + colormap somehow?

2009-11-04 Thread qubax
Greetings. I would like to make a mplot3d.bar3d plot where the colour indicates the value of the element. Like: negative values blue, positive red, zero green. From what i see i can only give all bars the same color ... Is there a way around it? I know that this is currently done in mayavi, but

Re: [Matplotlib-users] Drawing a single contour line

2009-11-04 Thread Eric Firing
John Hunter wrote: On Wed, Nov 4, 2009 at 11:16 AM, Brendan Arnold brendanarn...@gmail.com wrote: Ah, I was a little confused by what you wrote John (I though I had to access contour through the axes object and the meaning of R, F, dR was a little unclear..) however using the 'levels'