[Matplotlib-users] Region within contour -- 2D array

2014-08-28 Thread Matthew Czesarski
Hi Matplotlib Users! I have some 2-d arrays, which i am displaying with implot, and deriving contours for with contour. Easy - I'm just pulling them out of collections[0].get_paths() . However what's not easy is that I would like to recover a 1-0 or True-False array of the array values

[Matplotlib-users] vector EPS

2010-01-20 Thread Matthew Czesarski
Hi Forum, I just had an article accepted and they want to have the figures in vector EPS format with text that can be re-sized. I have produced all my figures with matplotlib. However, it seems that MPL rasterizes everything in the production of its EPS output. Is there any way to get around this

[Matplotlib-users] hatched fill_between ?

2009-10-07 Thread Matthew Czesarski
Hi all, What would be really useful for me, is to be able to hatch the area filled using the fill_between() method, instead of using solid color. Does anybody know if this is possible? Thanks in advance, Matt -- Come

Re: [Matplotlib-users] Canvas coordinates vs. Plot coordinates

2008-05-07 Thread Matthew Czesarski
Use mpl events -- they work across user interface toolkits and handle stuff like which axes did you click in and what are the data coordinates Excellent, that did the trick. In just 2 minutes. :) Thanks a lot. Could I just chuck in one simple question: you may have noticed I am embedding

[Matplotlib-users] Canvas coordinates vs. Plot coordinates

2008-05-06 Thread Matthew Czesarski
Dear Group, What I need to do is to 1. produce a plot (DONE) 2. fix it so that mouse clicks in the canvas append the x coordinate of the click to a list (DONE) 3. add a couple of buttons to the GUI, to reset the list and to kill the window (DONE) So I'm pretty successful so far. The only problem

[Matplotlib-users] Colorbar frame

2007-06-07 Thread Matthew Czesarski
Hi Matplotlib users. I've been fiddling with colorbars a bit today and having a bit of difficulty with the borders. Take, for example, subplots_adjust.py: it makes nice colorbar up the side of the image. But there is a black border, plus numbers, around the colorbar. Is there an easy way of

Re: [Matplotlib-users] Plotting function on top of histogram

2007-03-24 Thread Matthew Czesarski
Hi David, How about: import pylab as P dist = P.rand(100) x=P.arange(0.,1.,0.01) fx=10.*x**4 P.hist(dist) P.plot(x,fx,'r-') P.axis([0.,1.,0.,20.]) P.show() - Take Surveys. Earn Cash. Influence the Future of IT Join