Re: [Matplotlib-users] Integer to colormap color value

2009-01-08 Thread Jonathan Helmus
cecolor=exampleColor) ax.add_path(poly) Cheers, -Jonathan Helmus AlsCdz wrote: > I have something like (only the important bits of code): > > cmap = mpl.cm.jet ##I set colomap to 'jet' > norm = mpl.colors.Normalize(vmin=5, vmax=15) > > exampleInt = 7 >

Re: [Matplotlib-users] plot legend behavior & question

2008-09-16 Thread Jonathan Helmus
e to add a number of plots more effectively using a for loop: lines = [] names = ["CO2","H2O","etc"] for y in xeq: lines.append( plot(phi,y) ) f.legend( lines,names,loc=(0.8,0.8) ) Cheers, -Jonathan Helmus charles reid wrote: > Hi there - >

Re: [Matplotlib-users] Custom pan button

2008-08-11 Thread Jonathan Helmus
Sorry folks, I found my own problem. Looks like the axes pan functions were a recent addition to matplotlib and the version I'm using, 0.91.2, doesn't have these. Time to bug the system admin to update to the 0.98 version. -Jonathan Helmus Jonathan Helmus wrote: > I have been

[Matplotlib-users] Custom pan button

2008-08-11 Thread Jonathan Helmus
uggestions of how to get a axes/Subplot instance which has the pan functions? Thanks, -Jonathan Helmus - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applicati

Re: [Matplotlib-users] Using matplotlib in Qt4/Qt4 Designer

2008-08-05 Thread Jonathan Helmus
dress embedding a matplotlib widget using Designer. Cheers, -Jonathan Helmus Ewald Zietsman wrote: > Hi All, > > I'd like to use a matplotlib widget in a GUI app I'm working on. I > have tried qwt but I know matplotlib a lot better and would like to > use it instead.