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 py
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 wrote:
> Hi,
>
> Here's a version
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 [mailto:chris.bar...@noa
Hi,
Here's a version that goes to the list too :-)
On Fri, Mar 26, 2010 at 9:10 AM, Jae-Joon Lee 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 what you meant.
Uh
On Thu, Mar 25, 2010 at 4:17 PM, Tom Kuiper wrote:
>
> > Date: Thu, 25 Mar 2010 13:17:01 -0500
> > From: G?khan Sever
> > Subject: Re: [SciPy-User] milliseconds in matplotlib.dates?
> > To: SciPy Users List
> > Cc: Matplotlib Users
> >
> ...
> > Alternatively, you might use just floating-point
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 what you meant.
Can you post a screenshot of your figure? Also, version of your
matplotlib will be helpful.
Regards,
-JJ
On We
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.
T
2010/3/24 Jonno :
> 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 something else I'm
> miss
You must give a proper :param width: argument:
plt.bar(bins, height, 0.01)
http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.bar
Friedrich
2010/3/25 timothee cezard :
> Hi all,
> I'm trying to plot a distribution using bar() but when I'm setting the
> left variable to
Hi
I would expect
hgt=ma.masked_where(div == 0,hgt)
m.contourf(x,y,hgt,15,cmap=plt.cm.jet)
to produce a map complementary to the map produced by
hgt=ma.masked_where(div != 0,hgt)
m.contourf(x,y,hgt,15,cmap=plt.cm.jet)
But, this is not the case.
What am I missing?
Mathew
On Wed, Mar 24, 2010 at 1:25 PM, Tom Kuiper 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 minimum
> tick
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
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:
I finally found a binary package at rpm bones, so all is fine. Thank you very
much.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune ap
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
On Wed, Mar 24, 2010 at 8:03 PM, Angus McMorland wrote:
> On 24 March 2010 17:33, Nils Wagner 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 matplotlib.ticker import Formatter
16 matches
Mail list logo