[Matplotlib-users] Trouble getting colormap set_under and set_over to work with PolyCollection

2015-02-17 Thread Luke Lee
poly.set_cmap(cm) bounds = [.1, .4, .6] norm = mpl.colors.BoundaryNorm(bounds, cm.N) bounds = [0.0] + bounds + [1.0] fig.colorbar(poly, ax=ax, orientation='vertical', boundaries=bounds, norm=norm, extend='both') ax.add_collection(poly, autolim=True) ax.autoscale_view() plt.sh

Re: [Matplotlib-users] Polar graph radial labels

2012-01-21 Thread Luke Jennings
Hello Paul, Sorry for the late reply I have been away for a couple of days. Thanks for filing the issue, I would very much appreciate it if you manage to track it down. Luke On Tue, Jan 17, 2012 at 1:47 AM, Paul Hobson wrote: > Luke, > > I don't have an answer to your quest

[Matplotlib-users] Polar graph radial labels

2012-01-15 Thread Luke Jennings
Hello I sent this email just after Christmas and would appreciate it if anyone has any suggestions. I am unsure if I have missed a parameter or should I file a bug? Thanks Luke -- Forwarded message -- From: Luke Jennings Date: Mon, Dec 26, 2011 at 8:52 PM Subject: Polar graph

[Matplotlib-users] Polar graph radial labels

2011-12-26 Thread Luke Jennings
ot missed the answer in the documentation. I have installed version 1.1.0 of matplotlib and its still a problem in it, thanks for the good instructions on how to do it on ubuntu. I look forward to any help. Luke -- Write onc

Re: [Matplotlib-users] Boundary edges of a set of points

2011-04-28 Thread Luke
evel curve. I'll have to think about that some more. Is it clear what I am trying to do? If so, do you think the Delaunay triangulation is the right way to go? ~Luke On Thu, Apr 28, 2011 at 2:14 PM, Ian Thomas wrote: > On 28 April 2011 08:51, Luke wrote: >> >> I have a set of

[Matplotlib-users] Boundary edges of a set of points

2011-04-28 Thread Luke
0) triang.set_mask(mask) but, when I plot triang using plot.triplot(), or plt.plot() to plot the edges, I am getting a bunch of extra stuff that isn't just the boundary triangles/edges. Anybody have example code for properly masking and plotting only the boundary edges? ~Luke -- "Those

[Matplotlib-users] Level surface of a function of 3 variables

2010-09-15 Thread Luke
because there are anywhere from 0 to 2 solutions to the equation for each point in the x-y plane. The mplot3d examples all seem to calculate the z-data simply from simple functions of x and y. Thanks, ~Luke -- Start

[Matplotlib-users] Labeling plot lines like clabel

2009-03-05 Thread Luke
labeling by hand in Illustrator, after I generated the plot, and it was a pain, and very time consuming. Thanks, ~Luke -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest

Re: [Matplotlib-users] hist() memory leak?

2007-08-09 Thread Luke Robison
oop number 440, at which point they all started growing at about the same rate as the wxAgg was -Luke On 8/9/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Luke, > > Just to be sure: how are you selecting the backend? > > If you use the "matplotlib.use('Agg')"

Re: [Matplotlib-users] hist() memory leak?

2007-08-09 Thread Luke Robison
, but during the batch job really all i needed was the actual histogram numbers, so I looked through the code and found matplotlib.mlab.hist which is all I really need, and doesn't leak ;-). Thanks for the help, Luke Robison On 8/9/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > The

[Matplotlib-users] hist() memory leak?

2007-08-09 Thread Luke Robison
at version number from within python. -Luke Robison Code: --- import os,time,sys from pylab import * def report_memory(i): pid = os.getpid() a2 = os.popen('ps -p %d -o rss,sz' % pid).readlines() print i, ' ', a2[1], return int(a2[1].split()[1]