How can I plot the empirical CDF of an array of numbers in matplotlib
in Python? I'm looking for the cdf analog of pylab's "hist" function.
One thing I can think of is:
from scipy.stats import cumfreq
a = array([...]) # my array of numbers
num_bins = 20
b = cumfreq(a, num_bins)
plt.plot(b)
Is t
Yes, I believe so. I believe it is possible to create the axes with
navigation disabled so that their callbacks are never connected. Then, you
can use the same callback system to trigger the axes pan and zoom on your
own controls.
http://matplotlib.sourceforge.net/users/event_handling.html
http
Hello,
I keep getting the error "ValueError: Need more than 1 value to unpack"
every time I try to use the line ax.plot_wireframe(myArray[:,0],
myArray[:,1], myArray[:,2])
What does that error mean?
Thanks,
Shir
--
T
Good afternoon
I'm working in an application with a simple figure embbebed in a QT
Dialog. I want to instead of use the navigation toolbar of matplotlib,
have some Qt push buttons in the form, that allow to perform the Zoom
and Pan. Is it possible to do it?
Many thanks for your help
German
---
In article <0d8c04e1-e841-4f18-9887-ea0a76090...@gmail.com>,
Edward Barnard
wrote:
> Hi All
>
> I had a problem installing matplotlib 1.0.0 on MacOS X 10.6 using python.org
> 2.6.5 with the binary installer (dmg). When importing pylab, datautils was
> missing. I fixed that by easy_installin
In article ,
Shir Livne wrote:
> Hi,
>
> I downloaded the files from the site, but when i type "import
> matplotlib" in python, it responds with "ImportError: No module named
> matplotlib"
>
> Does anyone mind going through the download steps for me? I probably
> forgot something simple.
On Thu, Jul 8, 2010 at 5:50 AM, Karianne Holhjem
wrote:
> Hi,
>
> I'm having trouble getting pyplot and pylab to work on my Mac v.10.4.11
> (Tiger). I've tried searching in both google and different macusers
> forums, but haven't found an answer to my problems. If I have overlooked a
> webpage ple
Hi,
I'm having trouble getting pyplot and pylab to work on my Mac v.10.4.11
(Tiger). I've tried searching in both google and different macusers
forums, but haven't found an answer to my problems. If I have overlooked a
webpage please send me a link to the solution.
To download matplotlib I hav
On Sun, Jul 4, 2010 at 8:38 PM, Benjamin Root wrote:
> Jeremy,
>
> The pcolor function can take a vmin and a vmax parameter if you wish to
> control the colorscaling. In addition, you can use a special array
> structure called a "masked array" to have pcolor ignore "special" values.
> Assuming yo
Caught by the default Reply-to...
-- Forwarded message --
From: Scott Sinclair
Date: 8 July 2010 13:46
Subject: Re: [Matplotlib-users] plotting irregular spaced data
To: Ross Williamson
>On 8 July 2010 00:15, Ross Williamson wrote:
> I have a set of 2d data (2d array) z
> (10
Thanks that was it.
Cleared it all out and installed tk-dev.
Then it came up with a error about unable to find -ltk8.5. Checked whether I
had tk8.5 installed and that was fine so I installed tk8.5-dev.
Cleaned again recompiled and it all seems to be fine.
Thanks
>
11 matches
Mail list logo