[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 nore...@stsci.edu Date: Fri, Feb 24, 2012 at 12:20 PM Subject: Your Profile at The Space Telescope Science Institute To: roban.kra...@phys.ethz.ch roban.kra...@phys.ethz.ch Greetings Dr. Roban Hultman Kramer Somebody

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 the

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

2010-11-17 Thread Roban Hultman Kramer
mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Roban Hultman Kramer | Zwicky Fellow | Institute for Astronomy ETH Zürich (Swiss Federal Institute of Technology

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 chle...@berkeley.edu wrote: ...although  plot(map(lambda x:x**2, range(5,15))) probably doesn't do exactly what you

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 carlos.grohm...@gmail.com: 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)      

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 rma...@gmail.com wrote: On Tue, May 5, 2009 at 11:47 AM, Jose Gomez-Dans jgomezd...@gmail.com 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