[Matplotlib-users] a tiny addition to acorr

2009-07-10 Thread Michael Lerner
vlines: a = vlines(lags, [0], c, **kwargs) b = axhline(**kwargs) else: kwargs.setdefault('marker', 'o') kwargs.setdefault('linestyle', 'None') a, = plot(lags, c, **kwargs) b = None return lags, c, a, b

Re: [Matplotlib-users] Cannot build matplot on OS X: libfreetype.dylib and libiconv.2.dylib are not of the right architecture

2009-07-11 Thread Michael Lerner
--- > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBer

Re: [Matplotlib-users] Cannot build matplot on OS X: libfreetype.dylib and libiconv.2.dylib are not of the right architecture

2009-07-16 Thread Michael Lerner
iled with exit status 1 > make: *** [installers] Error 1 > > > It appears that I have no idea how the OS X build system works, because I'm > quite surprised by all of the seeming references to 10.3 and 10.4, given > that I'm running 10.5. > > I'd be quite ha

[Matplotlib-users] Two different definitions of autocorrelation?

2009-07-22 Thread Michael Lerner
hich requires each point of the autocorrelation to be averaged separately. So, I modified my local version of acorr to say if normed: nrm = arange(len(x)) nrm = hstack((nrm,nrm[:-1][::-1]))*std(x)**2 c /= nrm Thanks, -michael -- Michael Lerner, Ph.D. IRTA Postdoctoral Fel

[Matplotlib-users] Does anyone have an updated version of SentinelMap?

2008-10-13 Thread Michael Lerner
posted to the list: http://www.nabble.com/Re:-Trying-p8831162.html but it fails when I try to use it with matplotlib 0.98.3 and imshow. Does anyone have an updated version? Thanks, -michael -- Michael Lerner, Ph.D. IRTA Postdoctoral Fellow Laboratory of Computational Biology NIH/NHLBI 5635 Fi

Re: [Matplotlib-users] Does anyone have an updated version of SentinelMap?

2008-10-14 Thread Michael Lerner
On Mon, Oct 13, 2008 at 3:59 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Michael Lerner wrote: >> >> Hi, >> >> I'm trying to plot some data where certain values are marked by a >> sentinel, as per the Cookbook example: >&

[Matplotlib-users] Trying

2007-02-05 Thread Michael Lerner
2.4. Can someone show me how to make a sentinel'd version of a LinearSegmentedColormap? Thank you, -Michael Lerner -- Biophysics Graduate Student Carlson Lab, University of Michigan http://www.umich.edu/~mlerner http://lernerclan.net ---

Re: [Matplotlib-users] Trying

2007-02-07 Thread Michael Lerner
D]> wrote: > On 05/02/07, John Hunter <[EMAIL PROTECTED]> wrote: > > On 2/5/07, Michael Lerner <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I have some data where I'd like almost all of it to be plotted with a > > > LinearSegmented

[Matplotlib-users] making subplots with rows different sizes

2007-03-21 Thread Michael Lerner
Hi, I want to make a figure that has three subplots. The top one should be a big, mostly square thing. The bottom two should be rectangular things. That is, I want it to look like this: X X X X X X X X so, I'm using subplot(311), subplot(312), subplot(313).

Re: [Matplotlib-users] making subplots with rows different sizes

2007-03-21 Thread Michael Lerner
er_2) show() On 3/21/07, Zack <[EMAIL PROTECTED]> wrote: > Hi Michael, > > On 21 March 2007, Michael Lerner wrote: > > > so, I'm using subplot(311), subplot(312), subplot(313). But, things > > are getting resized so that each of the rows has the same height.

[Matplotlib-users] How can I explicitly set the minor tick locations?

2007-04-23 Thread Michael Lerner
Hi, I'm plotting an array, stored as 'data'. It starts out as just the data, but I add little strips on the left and bottom to highlight certain ranges (black where I want the highlights and white where I don't). I use concatenate to tack those strips onto my data array, so 'data' ends up bigger

Re: [Matplotlib-users] making subplots with rows different sizes

2007-04-24 Thread Michael Lerner
axes([0.1, 0.1, 0.8, 0.15]) plot(rand(12)) On 3/21/07, Eric Firing <[EMAIL PROTECTED]> wrote: > John Hunter wrote: > > On 3/21/07, Michael Lerner <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> I want to make a figure that has three subplots. The to

[Matplotlib-users] How to highlight part of a matrix (or wash out the rest of it)

2007-04-25 Thread Michael Lerner
Hi, I have a square matrix that I'm plotting with pcolormesh. I want to highlight certain parts of it. For instance, I might want to highlight rows and columns 4-20 and 67-80. I can get the opposite of what I want by doing something like pylab.axvspan(4,20,fc='white',lw=0.,alpha=0.15) pylab.ax