[Matplotlib-users] Fwd: Your Profile at The Space Telescope Science Institute

2012-02-24 Thread Roban Hultman Kramer
-- Forwarded message -- From: STScI Proposal/Person System Date: Fri, Feb 24, 2012 at 12:20 PM Subject: Your Profile at The Space Telescope Science Institute To: "roban.kra...@phys.ethz.ch" Greetings Dr. Roban Hultman Kramer Somebody, possibly you, has created a n

Re: [Matplotlib-users] bins and histograms

2011-03-10 Thread Roban Hultman Kramer
The hist function expects a list of values that it bins up and counts to form the histogram (see numpy.hist). That's why it is plotting one "count" for each of the values you gave it. You already have your counts, you just want to make a step plot out of them. Look at the "drawstyle" keyword of th

Re: [Matplotlib-users] Binning data, deleting an histogram from plot

2010-11-17 Thread Roban Hultman Kramer
for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3. > Spend less time writing and  rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > ___ > Matplotlib-us

Re: [Matplotlib-users] plot a lambda function?

2010-03-10 Thread Roban Hultman Kramer
How about this (though it is getting a little clunky): plot(*transpose(map(lambda x:(x,sin(x**2)/x**3), arange(3,6, 0.01 On Wed, Mar 10, 2010 at 7:57 PM, Chloe Lewis wrote: > ...although > >  >>plot(map(lambda x:x**2, range(5,15))) > > probably doesn't do exactly what you want; is the

Re: [Matplotlib-users] Problem with Arcs

2009-05-18 Thread Roban Hultman Kramer
Have you tried specifying a value for fill? 2009/5/18 Carlos "Guâno" Grohmann : > Hello all > > I'm having some troubles with Arcs in MPL. Using the following code: > >            circ = Arc( (0,0), width=2, height=2, angle=0.0, > theta1=0.0, theta2=360.0, ec=None, fc=None) >            axes.add_p

Re: [Matplotlib-users] Density slice scatter plot

2009-05-05 Thread Roban Hultman Kramer
On Tue, May 5, 2009 at 1:04 PM, Ryan May wrote: > On Tue, May 5, 2009 at 11:47 AM, Jose Gomez-Dans > wrote: >> >> Hi, >> I would like to plot a density slice scatter plot (when you have lots of >> points superimposed, it's very useful). An example from IDL/envi is here: >>

Re: [Matplotlib-users] histogram

2009-03-30 Thread Roban Hultman Kramer
As Darren said, normed=1 means that the integral of the histogram is normalized to one, not the height. In other words, the total area under the histogram curve is set to one. Imagine a histogram with a single bin. If the width of the bin is less than one, the height must be greater than one in or