[Matplotlib-users] Scientific Software developer wanted in Seattle.

2011-03-11 Thread Christopher Barker
for job ID: 179178 NOTE: This is a potion being hired by GDIT to work with NOAA, so any questions about salary, benefits, etc, etc should go to GDIT. However, feel free to send me questions about our organization, working conditions, more detail about the nature of the projects etc. -

Re: [Matplotlib-users] edit EPS

2010-12-28 Thread Christopher Barker
ilar plots to do, so you don't have to point and click on each one. Inkscape can be used as a command line SVG renderer, too. Good luck! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point W

Re: [Matplotlib-users] Taylor diagram (mdekauwe)

2010-12-10 Thread Christopher Barker
ut it won't be compatible with new mpl, scipy, etc. Try replacing the calls to "Numeric" with "numpy". You'll probably need to tweak a few other things, too, but it shouldn't be too much. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Respo

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 55, Issue 8

2010-12-07 Thread Christopher Barker
one that a given MPL build could work with. It would be nice if the numpy version required could be made clear in the download -- but that's a long file name already! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-695

Re: [Matplotlib-users] Simple animation with Qt4 backend

2010-11-22 Thread Christopher Barker
ent loops in a fundementally different way that Wx > or Qt. wx has "Yield()" which sounds a lot like QT's processEvents. But it also has "SafeYield()" which can (in theory, anyway) be called safetly within an event handler. Does QT have anything similar? -Chris --

Re: [Matplotlib-users] recipes in the docs

2010-11-04 Thread Christopher Barker
ce you get past twenty or so of these, it would be nice to have them categorized -- is that possible with the current system? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-632

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-15 Thread Christopher Barker
On 10/14/10 9:52 PM, Alessio Civ wrote: > Let' put things this way: if you have to work with many records, it is > better if you have a database. pyTables is worth a look, too" http://www.pytables.org/moin -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Respon

Re: [Matplotlib-users] New Mac binary installer for Python 2.6; do we bother with Python 2.5?

2010-10-06 Thread Christopher Barker
7;s fine -- look to the future -- 2.6 is now getting pretty old, and there is 2.7 and 3.1 to work with. Thanks for all your work on this. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (2

Re: [Matplotlib-users] ImportError: No module named _path

2010-09-23 Thread Christopher Barker
d Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______ > Matplotlib-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Christopher Barker, Ph.D. Oceanograph

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2010-09-22 Thread Christopher Barker
x27;t be chopped off. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main

Re: [Matplotlib-users] py2exe and matplotlib - Fonts: do I need them all?

2010-09-16 Thread Christopher Barker
hat is, will the > app run?) yes, it will, as long as no extra fonts get introduced at run time that you didn't test for. > but also from the _legal_ point of view (am I obliged to > distribute all those fonts?) I can't see why. Strip away. That's what I've done. -

Re: [Matplotlib-users] remove matplotlib an OS X

2010-09-01 Thread Christopher Barker
user, so I don't know if that's likely). You might try testing other back ends: import matplotlib matplotlib.use('agg') for instance. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand

Re: [Matplotlib-users] CMYK images

2010-08-26 Thread Christopher Barker
Fernando Perez wrote: >> http://www.littlecms.com/ PIL optionally uses littlecms -- so it may have what you need built in. -Chris NOTE: I haven't read the rest of this thread, to sorry if this is redundant information. -- Christopher Barker, Ph.D. Oceanographer Emergency Respon

Re: [Matplotlib-users] Embedding matplotlib in wxPython embedded in wxGTK

2010-08-19 Thread Christopher Barker
s what you may want to do it your case. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main receptio

Re: [Matplotlib-users] Embedding matplotlib in wxPython embedded in wxGTK

2010-08-19 Thread Christopher Barker
ipt. once you've got wxPython working, using MPL should be exactly t he same as with a pure wxPyton app -- take a look at the "embedded_in_wx" examples, and/or use wxMPL -- it provides a nice interactive MPL window out of the box: http://agni.phys.iit.edu/~kmcivor/wxmpl/ -Chris

Re: [Matplotlib-users] how to save pseudo-colorized images as 8-bit PNG files

2010-07-23 Thread Christopher Barker
get this working, it may be worth adding to MPL -- or maybe not, it's pretty specialized. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle,

Re: [Matplotlib-users] how to save pseudo-colorized images as 8-bit PNG files

2010-07-22 Thread Christopher Barker
mpy to create the 8-bit image you want, and PIL to save it as a PNG. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-01 Thread Christopher Barker
ng to back=port any of that for 2.6, but I kind of doubt it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Re: [Matplotlib-users] matplotlib Mac binary that works with python.org python and older MacOS X?

2010-07-01 Thread Christopher Barker
serving, which are for Apple's > Python). +1 -- these really should be the official ones (nothing wring with serving up the 10.6 ones too, if they are well labeled) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-695

Re: [Matplotlib-users] Mac OS X 10.6 dmg install

2010-06-25 Thread Christopher Barker
ideally, a python.org compatible binary provided as well. I'm sorry I can't find the time to do that myself right now. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (

Re: [Matplotlib-users] Installation for MAC OS 10.5

2010-06-19 Thread Christopher Barker
king with Leopard because everything else is up to date). I think that needs the 2.6 from Python.org -- I'd try that if it's not what you're using already -- if you are, then what errors, etc do you get? -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Div

Re: [Matplotlib-users] Mac backend problems for nearly all backends.

2010-05-26 Thread Christopher Barker
ressed by the fink and/or GUI toolkit developers. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main rec

Re: [Matplotlib-users] Mac backend problems for nearly all backends.

2010-05-25 Thread Christopher Barker
I'm using the python.org python. >> Machine 2: OSX 10.5.7 Macbook pro/Intel >> Code versions: python 2.5.4, Numpy 1.3.0, Scipy 0.7.0 (all obtained through >> fink.) OK -- then a fink issue, rather than a Macports one -- same idea, though. My impression is that neither fink nor

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread Christopher Barker
Jeff Whitaker wrote: > On 5/24/10 10:24 AM, Christopher Barker wrote: >> I need to be able to draw a filled polygon from coordinates in memory, >> for instance, but didn't see a way to do this directly. > Chris: If you have the map projection coordinates of the polygon,

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread Christopher Barker
do this directly. If I get a chance, I will look into .drawshapefile(), and figure I can see how to do it from there. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Christopher Barker
in ipython), I'm bit confused -- does ipython pylab mode not work for this? That's what it's for. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seatt

Re: [Matplotlib-users] where's superpack?

2010-03-24 Thread Christopher Barker
om matplotlib.org (optional) install the scipy binary from scipy.org and there you go -- I suppose it would be nice to have it all in one install, but that's not too hard. (if you really want all in one -- check out Python(x,y) or EPD) -Chris -- Christopher Barker, Ph.D. Oceanographer Emerg

Re: [Matplotlib-users] basemap and py2exe

2010-03-23 Thread Christopher Barker
nd bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______ > Matplotlib-users mailing list > [email protected] > https://lists

Re: [Matplotlib-users] Problem saving a plot in OSX

2010-03-23 Thread Christopher Barker
e into the OSX save box from another > window/terminal etc, and so could still make new names for the files. You also might try a different back-end. I'm not sure what EPD sets as the default but there are sometimes odd Tk issues. EPD should support wxPython (wxAgg), and maybe the macosx

Re: [Matplotlib-users] Why the name Axes?

2010-03-23 Thread Christopher Barker
n you have a thing with both an x and y axis, is is an "axes". -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 5

Re: [Matplotlib-users] installation question

2010-03-22 Thread Christopher Barker
tp://www.rpmfind.net/linux/rpm2html/search.php?query=numpy > > http://www.rpmfind.net/linux/rpm2html/search.php?query=python-matplotlib > > http://rpm.pbone.net/index.php3/stat/4/idpl/9548551/com/ipython-0.8.4-1.el5.noarch.rpm.html > > > > > > **/Gary/** > > > > > > > -

Re: [Matplotlib-users] savefig 0.91

2010-03-16 Thread Christopher Barker
Samuel Teixeira Santos wrote: > I fix it. > > It was a dumb error > > I using '\' on windows > and on ubuntu-linux I must use '/'... note that '\' works in Windows for the most part. Or, better yet, use os.path.join() and friends. -Ch

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2010-03-08 Thread Christopher Barker
it. >> >> -Chris >> > > Chris, I found this old thread. Did you ever find code to directly > interpolate a triangulation? sorry, no, not yet. Do you already have the triangulation? if so, it's pretty easy to contour. -Chris -- Christopher Barker, Ph.D. Oceano

Re: [Matplotlib-users] py2exe message" RuntimeError: Could not find the matplotlib data files"?

2010-02-20 Thread Christopher Barker
me clean up -- but if you read the whole page, you can see that it's gotten pretty easy. Are you still confused? -Chris > On 2/19/2010 8:28 PM, Christoph Gohlke wrote: >> <http://lmgtfy.com/?q=py2exe+matplotlib+data+files&l=1> leads me to >> <http://www.py2ex

Re: [Matplotlib-users] Looking for a Compiled Demo of MPL Graphics

2010-02-19 Thread Christopher Barker
o isn't available, maybe there's a web site that one >> can download such examples from? >> > -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2010-02-18 Thread Christopher Barker
h particular features turned on or off at compile time. Intel has a lapack that can dynamically select processors, but it's not open-source, and there are licensing issues to re-distributing it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&

Re: [Matplotlib-users] My matplotlib To-Do List

2010-02-12 Thread Christopher Barker
ser standard output -- it sounds like you want the user to see messages, etc. Maybe TK has something similar. Good luck, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fa

Re: [Matplotlib-users] Finding the Supposed MPL show() "bug".

2010-02-11 Thread Christopher Barker
27;s really a matter of taste. YOu either do: import matplotlib fig = matplotlib.figure or from matplotlib import figure fig = figure. You'll need a lot of things in matplotlib if you're doing much of anything, and "namespaces are one honking great idea", so I do: import ma

Re: [Matplotlib-users] Does Matplotlib have Image Processing?

2010-02-10 Thread Christopher Barker
Wayne Watson wrote: > See Subject. not really. Try: http://www.scipy.org/doc/api_docs/SciPy.ndimage.html for that. I think there are other IP libs wrapped for python use, too. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(2

Re: [Matplotlib-users] Plotting multiline graph with large dataset (6 lines, about 30, 000, 000 points total

2010-02-10 Thread Christopher Barker
In [9]: orig[0:-1:4] # every 4th element Out[9]: array([ 0, 4, 8, 12, 16]) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6

Re: [Matplotlib-users] Matplotlib Online: HOW TO?

2010-02-08 Thread Christopher Barker
is a fine choice for putting plots on the web. PHPlot may be also -- I know nothing of it. HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [Matplotlib-users] Matplotlib conflicts with IDLE

2010-02-05 Thread Christopher Barker
Also, I > would rather stick with IDLE. It is the perfect IDE for non-CS students who > shouldn't be spending their time on the complexities of a plotting package. Spyder: http://packages.python.org/spyder/ Looks really promising, but I don't think they've got OS-X package

Re: [Matplotlib-users] Draggable matplotlib legend

2010-01-28 Thread Christopher Barker
ate. Might I suggest that that be made: leg.draggable(True) leg.draggable(False) or leg.draggable('on') leg.draggable('off') or even a property: leg.draggable = True or some such. I'd be nice not to have to keep track of the current state. -Chris -- Christopher

Re: [Matplotlib-users] position a wxPython frame near to a matplotlib point

2010-01-22 Thread Christopher Barker
27;d print out some of those coords, so can make sense of them -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [Matplotlib-users] Printing Graphs and Image Processing Operations

2010-01-19 Thread Christopher Barker
he wx printing code to print. I imagine it's similar for QT and GTK and TK. Note that for wx at least, you do need access to a Windowing system, even if you aren't displaying anything. HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&

Re: [Matplotlib-users] bezier curve through set of 2D points

2010-01-14 Thread Christopher Barker
ex.html -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception ch

Re: [Matplotlib-users] newbie question: type check?

2010-01-12 Thread Christopher Barker
c typing. So what is it you're trying to accomplish? Maybe there is a better way. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax

Re: [Matplotlib-users] Best practices for organizing plotting code? (Greg Novak)

2009-12-22 Thread Christopher Barker
-Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar

Re: [Matplotlib-users] Plotting Hex grid

2009-12-17 Thread Christopher Barker
With luck, it's been factored in a way that you can use the drawing code without the binning code. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 981

Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6

2009-12-02 Thread Christopher Barker
Christopher Barker wrote: > The diskimage is usually built for the python binary supplied by > python.org -- that is what the message means by the "system version". I > tried to submit a patch to change that message a year or two ago, but I > guess it never got applied -

Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6

2009-12-02 Thread Christopher Barker
27;ve never heard anyone have a problem with it. Perhaps we should do the same thing with MPL -- I'm sure he'd be glad to share his scripts for building it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959

Re: [Matplotlib-users] bug in run_all.py

2009-11-23 Thread Christopher Barker
t "Running" message come from -- it doesn't look like it's written to accommodate white space. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 f

Re: [Matplotlib-users] set figure position

2009-11-22 Thread Christopher Barker
best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > Matplotlib-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/matp

Re: [Matplotlib-users] 'remote control' matplotlib window

2009-11-17 Thread Christopher Barker
uld be separate from the toolbar that activates those modes. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main recepti

Re: [Matplotlib-users] line thicknes in axes

2009-11-17 Thread Christopher Barker
Pavlo Shchelokovskyy wrote: is there is a consistent > way to scale at once thickness of everything drawn on figure, i.e. > axis, plots, fonts?.. I think what you want is to set a dpi that works for you: http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize -Chris -- Chris

Re: [Matplotlib-users] close-event

2009-11-16 Thread Christopher Barker
imer that wraps the GUI toolkit timers, but that may be a good idea. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle

Re: [Matplotlib-users] Docked/tabbed figures in one window?

2009-11-13 Thread Christopher Barker
xMPL -- it's a nice wrapper for MPL on wx that will save you a bit of work. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [Matplotlib-users] rasterizing a figure

2009-11-12 Thread Christopher Barker
Geoffrey Ely wrote: > Hi, What is the best way to rasterize a figure into a numpy array for > further image processing? untested, but I suspect: > image = numpy.frombuffer( fig.canvas.renderer.buffer_rgba).reshape( shape ) might work -- something like that, anyway. -CHB -- Ch

Re: [Matplotlib-users] Py2app application with matplotlib fails on OS X 10.6

2009-11-10 Thread Christopher Barker
so, it seems that Py2app really should include libs that are in /usr/local with the bundle, so that may be a py2app bug/feature. Boy, this is a pain! oh well, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7

Re: [Matplotlib-users] Building basemap on OS X 10.6

2009-11-09 Thread Christopher Barker
are running 64 bit -- what a pain this all is. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206

Re: [Matplotlib-users] Installing problems

2009-11-02 Thread Christopher Barker
d work with the python.org Python 2.5 there is: matplotlib-0.99.1.1-py2.6-macosx-10.3-fat.egg for Python 2.6 I haven't had to compiled MPL is a good while. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voic

Re: [Matplotlib-users] contribution offer: griddata with gaussian average

2009-10-05 Thread Christopher Barker
ussian_kde does, > the documentation is terse. Can I be enlightened here? It looks like they are both part of a similar class of methods: http://en.wikipedia.org/wiki/Kernel_%28statistics%29 As such, it makes sense to me to have them all in SciPy, sharing code and API. -Chris -- Christ

Re: [Matplotlib-users] contribution offer: griddata with gaussian average

2009-10-04 Thread Christopher Barker
on for that. sounds like a useful module, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317

Re: [Matplotlib-users] scaling arrows in quiver

2009-10-01 Thread Christopher Barker
it irrelevant (x is time, y is velocity). Can I do that with this? > (Maybe I should add "width_units", identical to "units", and deprecate > the latter; this might make the meanings of the kwargs clearer.) +1 But if you're doing that, you may want to make m

Re: [Matplotlib-users] glumpy: fast OpenGL numpy visualization + matplotlib integration

2009-09-29 Thread Christopher Barker
er, OpenGL is pretty darn low-level, so there's a lot of code to write! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115

Re: [Matplotlib-users] python script

2009-09-28 Thread Christopher Barker
ns to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______ > Matplotlib-users mailing list > [email protected] > https://lists.sourceforge.net/lists/list

Re: [Matplotlib-users] interactive python session with matplotlib

2009-09-25 Thread Christopher Barker
er thread, so that the main interactive prompt is not blocked. It's handy for mixing an interactive prompt and GUI stuff, even if you aren't using MPL. Plus you get all the other nifty iPython features. Give it try -- it's wonderful. -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Matplotlib-users] matplotlib-0.99.1-py2.5-macosx10.5.dmg

2009-09-23 Thread Christopher Barker
which I think would work? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317

Re: [Matplotlib-users] Contouring on triangular grids

2009-09-18 Thread Christopher Barker
ocessing time and memory. In particular, it should work better around the edges of a non-rectangular domain. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle,

Re: [Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5

2009-09-10 Thread Christopher Barker
it you want, it should be easy, except for the dependencies -- I'm not sure what those are anymore, but a little reading of the docs should tell you. Oh, and you'll end up having to build every other extension, too - wxPython, QT, PIL, ??? Without good reason, I'd just go with the p

Re: [Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5

2009-09-10 Thread Christopher Barker
this up. or: python -c "import sys; print sys.path" That will spew out a bunch of dirs, and where there are should tell you where your python is installed. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voic

Re: [Matplotlib-users] "Piecewise Cubic Hermite Interpolating Polynomial" in python

2009-09-02 Thread Christopher Barker
-Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar..

Re: [Matplotlib-users] best format for MS word?

2009-09-02 Thread Christopher Barker
es support verctor emf, than you might be able to use the MPL Cairo back-end, rather than trying to go to SVG->emf. good luck! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (2

Re: [Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-25 Thread Christopher Barker
is that the amount of space for the axis labels varies with the size of the figure, as you've discovered. The default for a single axes in a figure is: (0.125, 0.1, 0.9, 0.9) so you might try something like: axes.set_position((0.125, 0.15, 0.9, 0.85) ) what is best depends on what

Re: [Matplotlib-users] Contour Plotting of Varied Data on a Shape

2009-08-21 Thread Christopher Barker
ot I'll try to remember to contribute it when I get around to it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206)

Re: [Matplotlib-users] wx and matplotlib

2009-08-16 Thread Christopher Barker
le files which existed in > 0.90.x) Is this what you are looking for? http://matplotlib.sourceforge.net/examples/index.html in particular, you might want to look at the wx examples here: http://matplotlib.sourceforge.net/examples/user_interfaces/index.html -Chris -- Christopher Barker, Ph.D.

Re: [Matplotlib-users] re grid non regular data, then mask for continents / artifacts

2009-08-12 Thread Christopher Barker
y give you a cleaner result. You may even be able to grab code straight from scipy.interpolate, an apply it on the different portions of your grid separately. HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice

Re: [Matplotlib-users] matplotlib, build from source on osx 10.5.8

2009-08-07 Thread Christopher Barker
t;include" dirs. You need to add those to MPL's search paths, by editing setup_ext.py. Look for the basedir dict. -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-63

Re: [Matplotlib-users] matplotlib, build from source on osx 10.5.8

2009-08-07 Thread Christopher Barker
t; build cannot find it. Note that the UnixImageIO Framework from Kyng Chaos should give you a good libpng (and freetype), you just have to make sure that MPL can find it. Another easy option is to use Macports to build it, with the "universal" variant. HTH, -Chris -- Christoph

Re: [Matplotlib-users] Backend neutral idle event won't repeat

2009-08-03 Thread Christopher Barker
's time machine, anyway...). I've lost track of what problems you're trying to solve with idle events, but maybe an abstraction of a timer system would be a more robust approach, for animations, anyway. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Divisio

Re: [Matplotlib-users] ipython --pylab without namespace pollution?

2009-07-27 Thread Christopher Barker
y ipy_user_conf.py file, and that had the same effect. thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main recep

[Matplotlib-users] ipython --pylab without namespace pollution?

2009-07-22 Thread Christopher Barker
-- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa

[Matplotlib-users] Turning off the timezone (and more) in AutoDateFormatter

2009-07-22 Thread Christopher Barker
*60) : "%H:%M:%S %Z", 1.0/(24*3600) : "%H:%M:%S %Z", } self.fallback_format = "%b %d %Y %H:%M:%S %Z" def __call__(self, x, pos=0): scale = float( self._locator._get_unit()

Re: [Matplotlib-users] dynamically add subplots to figure

2009-06-02 Thread Christopher Barker
l served to use the OO interface, rather than pylab to write a complex app like this -- pylab is designed for simple interactive use and quick scripts. In an app, you want full control. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(2

Re: [Matplotlib-users] Non-X11 fallback on import

2009-06-01 Thread Christopher Barker
er, as the whole user interaction has to be totally different, I wonder if you can't just have a different start-up script depending on whether they want to run the GUI version or not. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Matplotlib-users] Printing in wx

2009-05-27 Thread Christopher Barker
get with your crash? What versions of Python, wxPython and MPL are you running? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-631

Re: [Matplotlib-users] free'ing the plotted data?

2009-05-27 Thread Christopher Barker
not be the elementree that has multiple references, but rather something inside itThis is very tricky business -- Python frees you from worrying about memory management almost all the time, but it does mean that you give up control. -Chris

Re: [Matplotlib-users] repeated GUI generation generates crash

2009-05-21 Thread Christopher Barker
ence you problems. ipython itself can be used for all sort of things that have nothing to do with matplotlib, so that's not its default behavior. Just use ipython -pylab if you want to do interactive plotting, that's what it's for. -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Matplotlib-users] Using matplotlib in fltk application: figures not being drawn

2009-05-20 Thread Christopher Barker
ib.sourceforge.net/examples/user_interfaces/index.html -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA

Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-19 Thread Christopher Barker
Christopher Barker wrote: >> If you are not running from svn, a workaround may be to specify the >> angles as an ndarray or masked array with the shape set to (N,1) where N >> is the number of arrows. > > Yes, that seems to work. Thanks! However, I'm a bit con

Re: [Matplotlib-users] subplot

2009-05-19 Thread Christopher Barker
it? I think it's a great idea. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main

Re: [Matplotlib-users] subplot

2009-05-19 Thread Christopher Barker
know what happened to that? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.ba

Re: [Matplotlib-users] segfault while getting fig_manager while embedded in Wx

2009-05-19 Thread Christopher Barker
it.edu/~kmcivor/wxmpl/ -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception ch

Re: [Matplotlib-users] globally turn of anti-aliasing for png

2009-05-19 Thread Christopher Barker
hing that looks good, and it'll be easier than trying to turn anti-aliasing off everywhere. http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600

Re: [Matplotlib-users] ANN: matplotlib-0.98.5.3

2009-05-18 Thread Christopher Barker
it works, which is the bigger deal! Thanks to all that contributed. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 ma

Re: [Matplotlib-users] Where are AutoDateLocator and AutoDateFormatter?

2009-05-18 Thread Christopher Barker
problem I'll try and fix it. OK. Enclosed. If you uncomment the "date2num" call, it works fine, but it crashes as it is. Thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way

Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-18 Thread Christopher Barker
arrows. Yes, that seems to work. Thanks! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Re: [Matplotlib-users] quiver questions/issues (bug?)

2009-05-15 Thread Christopher Barker
Christopher Barker wrote: > Hi all, > > I've been messing with quiver a bit, and have some confusions: one more issue with quiver -- autoscaling fails if there is a NaN in the data: x = (1,2) y = (1,2) u = (2,2) v = (-2,2) fig = plt.figure(1) fig.clear() ax = fig.add

[Matplotlib-users] quiver questions/issues (bug?)

2009-05-15 Thread Christopher Barker
rts(self.U, self.V) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/quiver.py", line 484, in _make_verts theta = ma.asarray(self.angles*np.pi/180.0).filled(0) TypeError: can't multiply sequence by non-int of type 'float' I

Re: [Matplotlib-users] Where are AutoDateLocator and AutoDateFormatter?

2009-05-15 Thread Christopher Barker
d for what I'm doing -- this is for plotting wind data and the like, where you have a time series of speeds and directions. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6

  1   2   3   4   >