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.
-
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
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
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
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
--
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
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
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
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
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
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.
-
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
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
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
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
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,
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
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
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
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 (
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
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
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
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,
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
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
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
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
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
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
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/**
>
>
>
>
>
>
> -
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
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
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
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
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&
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
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
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
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
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
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
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
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
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&
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
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
-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
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
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 -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
-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..
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
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
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)
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.
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
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
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
'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
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
--
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
*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()
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 354 matches
Mail list logo