Re: [Matplotlib-users] format yticks

2010-03-25 Thread Ryan May
On Wed, Mar 24, 2010 at 8:03 PM, Angus McMorland amcm...@gmail.com wrote: On 24 March 2010 17:33, Nils Wagner nwag...@iam.uni-stuttgart.de wrote: Hi all, how can I change the output format of yticks from 100 to 1.e6 ? I'm not sure if there's an easier way still, but this works: from

Re: [Matplotlib-users] contourf creats white-like lines (or gaps) between each two color patches

2010-03-25 Thread Eric Firing
lmkli wrote: Thank you! I just thought there must be a solution. I saw someone posted he can modified contour.py to fix this, but I failed. :( What version of mpl are you using? Are you modifying the default anti-aliasing in the patch collections that contour is creating? Are you

Re: [Matplotlib-users] [matplotlib install] Problem when compiling.

2010-03-25 Thread David Kremer
I finally found a binary package at rpm bones, so all is fine. Thank you very much. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and

[Matplotlib-users] Problems using bar() with left containing an array of float

2010-03-25 Thread timothee cezard
Hi all, I'm trying to plot a distribution using bar() but when I'm setting the left variable to as a sequence of float some of the bar look weird. When I replace this sequence by a sequence of int it works fines Does anybody know why this happens and how I can fix it? Here is the code I'm using:

[Matplotlib-users] Tick labels in mplot3d?

2010-03-25 Thread Jeff Klukas
I would like to add tick labels to a 3d plot, but so far have had no luck. I would like to start with something like the bars3d example: http://matplotlib.sourceforge.net/examples/mplot3d/bars3d_demo.html But I would like to have each bar chart labeled by its tick on the y-axis. The traditional

Re: [Matplotlib-users] [SciPy-User] milliseconds in matplotlib.dates?

2010-03-25 Thread Gökhan Sever
On Wed, Mar 24, 2010 at 1:25 PM, Tom Kuiper kui...@jpl.nasa.gov wrote: Greetings, everyone. I have some time tagged data spanning about three minutes with 4 ms resolution. If I plot these with plot_data and focus in on some event at high resolution I lose the tick marks. It seems that the

Re: [Matplotlib-users] Trouble embedding toolbar in Tk using grid

2010-03-25 Thread Friedrich Romstedt
2010/3/24 Jonno jonnojohn...@gmail.com: Well I realized my error with the extra window being caused by the TopLevel() command. I switched this to Tk.Tk() and it works nicely. However I still have to pack the frame instead of using grid. I can work around this but I wonder if there isn't

[Matplotlib-users] SciPy 2010 Tutorials: brainstorming and call for proposals

2010-03-25 Thread Brian Granger
Greetings everyone, This year, there will be two days of tutorials (June 28th and 29th) before the main SciPy 2010 conference. Each of the two tutorial tracks (intro, advanced) will have a 3-4 hour morning and afternoon session both days, for a total of 4 intro sessions and 4 advanced sessions.

Re: [Matplotlib-users] [SciPy-User] milliseconds in matplotlib.dates?

2010-03-25 Thread Gökhan Sever
On Thu, Mar 25, 2010 at 4:17 PM, Tom Kuiper kui...@jpl.nasa.gov wrote: Date: Thu, 25 Mar 2010 13:17:01 -0500 From: G?khan Sever gokhanse...@gmail.com Subject: Re: [SciPy-User] milliseconds in matplotlib.dates? To: SciPy Users List scipy-u...@scipy.org Cc: Matplotlib Users

Re: [Matplotlib-users] Bar plot, 0 values

2010-03-25 Thread b b
Hi, Here's a version that goes to the list too :-) On Fri, Mar 26, 2010 at 9:10 AM, Jae-Joon Lee lee.j.j...@gmail.com wrote: With the current svn, I cannot reproduce the problem, i.e., bars with 0 height are correctly displayed. The x-range is incorrectly set, but it is not clear if this is

Re: [Matplotlib-users] where's superpack?

2010-03-25 Thread PHobson
How up-to-date is Macports? This is a reasonable approximation of how I got my OX 10.6 machine set up: http://newmediaandcapitalmarkets.org/component/content/article/68-how-i-got-matplotlib-working-on-my-macbook.html -Original Message- From: Christopher Barker

Re: [Matplotlib-users] Bar plot, 0 values

2010-03-25 Thread Jae-Joon Lee
I think it is just that the x-range is wrongly set. Try something like xlim(1, 6) ylim(-1, 2) You will see zero-height rectangles. Currently, zero-height rectangles are ignored for autoscaling x- and y-axis. Regards, -JJ On Thu, Mar 25, 2010 at 6:50 PM, b b cook.strait.giant.w...@gmail.com

Re: [Matplotlib-users] Bar plot, 0 values

2010-03-25 Thread b b
Hi Lee, That was it. It took me a few more minutes to find out that set_xlim and set_ylim are methods in of the figure but now it's working nicely. I also found that the set_[xy]lim methods have to be called after the bar() method. Updated script: / from