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.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
can be used as a command line SVG renderer, too.
Good luck!
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
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 Response Division
NOAA/NOS/ORR(206) 526-6959
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
--
Christopher Barker, Ph.D.
Oceanographer
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115
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 Response Division
NOAA/NOS
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317
/matplotlib-users
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
?)
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.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency
matplotlib.use('agg')
for instance.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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 Response Division
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
--
Christopher Barker, Ph.D
to do it your case.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
pretty specialized.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
, and PIL to save it as a PNG.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526
of that for 2.6, but I
kind of doubt it.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
. 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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
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 Division
NOAA/NOS/ORR(206) 526-6959
toolkit developers.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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 macports do well with Mac GUI
stuff -- unless you're talking X11.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115
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,
nope -- we've got lat-long
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main
)
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
Emergency Response Division
NOAA
axis, is
is an axes.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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 back-end.
-Chris
--
Christopher Barker, Ph.D
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
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.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency
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.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
-- 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+filesl=1 leads me to
http://www.py2exe.org/index.cgi/MatPlotLib.
--
Christopher Barker, Ph.D
that
someone can manipulate the plot with the navigation controls. At this
point, I have no idea if that method is the fundamental graph tool or
not. I suspect it is.
If a mailable demo isn't available, maybe there's a web site that one
can download such examples from?
--
Christopher Barker
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/ORR(206) 526-6959 voice
7600
.
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 matplotlib as mpl
fig = mpl.figure()
etc..
HTH,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR
:4] # every 4th element
Out[9]: array([ 0, 4, 8, 12, 16])
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
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/ORR(206) 526
.
PHPlot may be also -- I know nothing of it.
HTH,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar
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 packages yet.
-Chris
--
Christopher Barker, Ph.D
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 Barker, Ph.D.
Oceanographer
NOAA/ORR
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
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 -- maybe I'll try again.
I
to accommodate white space.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
-users
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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
--
Christopher
the toolbar that activates those modes.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
be a good idea.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
on wx that will save you a bit of work.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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
--
Christopher Barker
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206
,
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
--
Christopher Barker, Ph.D
,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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 more changes, also -- you
might as well do them all at once.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
a lot of code to write!
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
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
Emergency Response Division
NOAA/NOS/ORR
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526
-
wxPython, QT, PIL, ???
Without good reason, I'd just go with the python,org build.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526
Cairo back-end, rather than trying to go to SVG-emf.
good luck!
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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 size you want your figure to look good at.
-Chris
--
Christopher Barker, Ph.D
get around to it.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
://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.
Oceanographer
NOAA/ORR/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE
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/ORR(206) 526-6959 voice
7600 Sand Point Way
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
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response
search paths, by editing setup_ext.py. Look for the basedir dict.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
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 Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206
, and that had the same effect.
thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
= self.format_strings.get(scale, self.fallback_format)
self._formatter = DateFormatter(f_string, self._tz)
return self._formatter(x, pos)
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329
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/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle
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
--
Christopher Barker, Ph.D.
Oceanographer
of Python,
wxPython and MPL are you running?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
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
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand
to work. Thanks!
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
which exposes the 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/ORR(206) 526-6959 voice
7600 Sand Point Way NE
is the bigger deal!
Thanks to all that contributed.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
and formating?
note: I'm trying to do this for the x axis of a quiver plot, which
doesn't seem to support passing in dates directly.
Thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE
Eric Firing wrote:
Christopher Barker wrote:
Has anyone used MPL to make stick plots? If so, can I borrow your code?
If no one volunteers anything, then I suggest using quiver(...,
headlength=0, headwidth=0, headaxislength=0), together with
quiverkey(...). This will effectively give you
Michael Droettboom wrote:
examples of embedding matplotlib inside of a wxPython GUI here:
http://matplotlib.sourceforge.net/examples/user_interfaces/index.html
I'd also check out wxMPL, it's a nice way to embedMPL in a GUI:
http://agni.phys.iit.edu/~kmcivor/wxmpl/
-CHB
--
Christopher
Hi folks,
Has anyone used MPL to make stick plots? If so, can I borrow your code?
http://tabs.gerg.tamu.edu/Tglo/RTA/N/Oceanographic_CurrentStick_30.html
Thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/ORR/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206
Eric Firing wrote:
Christopher Barker wrote:
Has anyone used MPL to make stick plots? If so, can I borrow your code?
If no one volunteers anything, then I suggest using quiver(...,
headlength=0, headwidth=0, headaxislength=0), together with
quiverkey(...). This will effectively give you
that file exist?
If so, try running:
$ file ft2font.so
and see what it says -- it may be a PPC- only binary.
I'm using python 2.5.2 on a macbook, intel microprocessor, mac os 10.4.11
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959
am I missing?
thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
then get an updated plot.
It's not doing that now.
what am I missing?
thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/ORR(206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206
, which makes sense, as I'm running on a
ppc machine.
If you don't have it, probably the easiest thing to do is install
Apple's X11 -- otherwise, perhaps MPL should be built against a static
libfreetype.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS
what you want to see.
Gökhan
On Wed, May 6, 2009 at 6:09 PM, Christopher Barker
chris.bar...@noaa.gov wrote:
Hi all
I'm sure this is documented somewhere, but I can't find it.
I'm finally getting around to learning ipython, which is pathetic as it
sure seems like a great tool
Christopher Barker wrote:
Gökhan SEVER wrote:
You may add these two lines:
fig = plt.figure()
fig.clear()
I thought I'd tried that (at least I'd tries plt.clf() ), but indeed,
that takes care of it. I'm a bit confused as to why that is necessary,
but at least it's working for me.
oops
point.
Also what
you showed in your original post seem a little like wind-barbs, well
except without notches.
yup -- stick plots are commonly used for wind data.
-Chris
Gökhan
On Wed, May 6, 2009 at 4:46 PM, Christopher Barker
chris.bar...@noaa.gov wrote:
Eric Firing wrote
Gökhan SEVER wrote:
I am playing with some other commands to achieve updating on the same
figure, no luck yet.
I guess that is what you actually been trying to see? Update the
figure content without opening another one?
right.
Christopher Barker wrote:
oops, no it doesn't -- what
1 - 100 of 284 matches
Mail list logo