Matplotlib you won't be disappointed
http://g.msn.com.br/BR9/1369.0?http://cnbc7.com/news
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery optio
Hey there,
I'm trying to plot a bunch-o-vectors, colored red or blue, depending on
whether their magnitude is positive or negative (they represent stresses),
and I'm doing something like this:
mag1 = evals[:,0]
ex1 = evecs[:,0,1]
ey1 = evecs[:,0,0]
C1 = np.where(mag1 >= 0, 'red', 'blue')
mag2
For some reason the download link on the Matplotlib pages is pointing to
Basemap 0.99.4 instead of Matplotlib 0.99.0.
I did a clean checkout of the v0_99_0 tag:
svn checkout
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/tags/v0_99_0
and built/installed it, and that seems to have gone
which is for some
>> reason outlining the
>> polygons in the filled contours.
>>
>> """
>> from numpy.random import uniform, seed
>> from matplotlib.mlab import griddata
>> import matplotlib.pyplot as plt
>> impor
Okay, so in the "variables" section, what you've got is a list of things
which vary as a function of the "dimensions" listed in the previous section
(time, nsr_delta, lat, lon). I don't remember which of the NetCDF file
reading libraries you're using, but using Jeff's older netCDF3 interface,
you
plt.savefig('broken_contourf.pdf')
plt.savefig('broken_contourf.png')
On Fri, Jun 12, 2009 at 3:02 PM, Zane Selvans wrote:
> I switched back to using the macosx backend, and it turns out that the
> thin black lines surrounding the polygons (including crossing the
>
, Zane Selvans wrote:
> If I set path.simplify: False, the shape of the gaps between the
> filled polygons does change. Instead of being irregular, it becomes
> an infinitessimally thin gap of uniform width, allowing the (in this
> case white) background to show through.
>
> In b
ilename, rather than using show().
>
> Cheers,
> Mike
>
> Zane Selvans wrote:
>>
>> Um, yeah. So my response got bounced because of the attachment. Take 2:
>>
>> For some reason my script bombed when I switched to the Agg backend,
>> trying to displa
avior if you switch to the Agg backend? That's the
> backend used to generate the images in the gallery. If there's a difference
> there, that would seem to suggest some tweaking of the macosx backend (which
> is still relatively new) is in order.
>
> Mike
>
> Zan
I just installed the latest SciPy Superpack in order to get access to
the scipy.spatial.KDTree class, and discovered that for some reason
now when I use contourf() lines get drawn at the boundaries between
the filled contours. Additionally, there is always a single vertical
line crossing from each
On Fri, Aug 8, 2008 at 10:35 AM, Charles R Harris
wrote:
>
>
> On Mon, Aug 4, 2008 at 11:48 AM, Zane Selvans wrote:
>>
>> Does anyone out there happen to know a simple algorithm for least
>> squares fitting a great circle to a given set of lat/lon points on a
>>
Is there a method built into Numpy/SciPy or friends that will generate
a set of N points evenly (regularly - not randomly) sampling the
entire surface of a sphere? I imagine people doing GCMs and other
geoscience in spherical coordinates have to do this pretty frequently,
so I'm sure someone's wri
of the interpreter,
and deleted the font cache from my .matplotlib directory, restarted,
and the problem persisted.
Any suggestions? I don't have any of the alternate tex rendering
options set in my rcfile, just using plain mathtext.
--
Zane Selvans
Amateur Earthling
z...@i
l one patch from each
returned list of patches afterward. Would make legend creation easier
anyway.
Just a suggestion,
Zane
--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key: 55E0815F
--
uld see it
being more generally useful when dealing with a periodic space where
what you're interested in is the phase.
Or maybe this already exists and I'm just not seeing it?
--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.o
l (non-Basemap) figures,
I can do something like:
for ticklabel in ax.get_xticklabels():
ticklabel.set_size('x-small')
to re-size them after the fact, but on the Basemap axes,
get_xticklabels() returns a zero length list.
Does anybody know where are these things hiding?
Thanks!
Z
es,
and the mpl-data/fonts directory that's getting installed in my site-
packages only has 99 sub-entries. But maybe they aren't supposed to
be the same? Dunno.
So for now I can only get my math symbols to render with text.usetext
turned on.
I'll read up on the text f
the matplotlib source distribution
Thanks again!
Zane
--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key: 55E0815F
-
This SF.Net email is sponsored by the Moblin Your M
hich they're being
displayed. This happens even when I do a figure.show() at the end of
the script. Some of the lines will draw, but not all of them. Is
this a familiar problem?
Thanks for any suggestions...
Zane
--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED
ng the list of polygon
vertices to always explicitly include the points of intersection
between the functions being filled_between? Or maybe just by
increasing the number of vertices, though I assume that would slow
things down.
--
Zane Selvans
Amateur Earth
that Chris Fonnesbeck puts out at http://macinscience.org
Unfortunately some of the versions of stuff being pulled in there are
kind of stale it looks like.
Maybe I should give it another go from source or pre-built SVN
binaries. Has it gotten any easier lately?
Zane
--
Zane Selvan
Does anybody know of an easy way to take two intersecting curves, A(x)
and B(x), and fill the areas between them only when A(x) < B(x) and
not when A(x) > B(x)?
--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key: 55
somewhere too, but having this kind of disconnect between
what people have installed, and what the default doc refers to, will
probably create other headaches too.
Just my $0.02,
Zane
--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key
229 """
--> 230 return array(a, dtype, copy=False, order=order)
231
232 def asanyarray(a, dtype=None, order=None):
ValueError: setting an array element with a sequence.
--
Zane Selvans
Amateur Earthling
[EMAIL PROTE
windrose.html
http://www.nabble.com/windrose-OO-td16298025.html
but with a mind toward a particular kind of application (windrose
diagrams obviously :). But I think allowing users to specify
(thetamin, thetamax, offset) would be a very generally applicable
improvement.
Thanks again,
Zane
f the examples or documentation
though. If it's not possible now, I think it would be a wonderful
addition.
Thanks,
Zane
--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key
he main page, in the "Need Help?"
section, I'm seeing a bunch of weird gunk that's probably not
supposed to be getting through to the web...:
That seems to have been fixed in the meantime. Still seeing it?
Yep, looks good.
Thanks for all your work!
--
Zane Selvans
Ama
k the user guide, the >>>>>> .r6222 href="faq/index.html">faq, the
api docs, archives, and join the matplotlib mailing lists >>>>>>> .r6221
You can file bugs, patches and feature requests on the sourceforge
tracker, but it is a good i
On Oct 9, 2008, at 12:55 PM, John Hunter wrote:
On Thu, Oct 9, 2008 at 2:40 PM, Zane Selvans <[EMAIL PROTECTED]>
wrote:
I too often feel like I'm just hacking my way
around in Matplotlib, without understanding how it is actually
"supposed" to be used (i.e. how it was d
On Oct 9, 2008, at 7:08 AM, Ryan May wrote:
> Zane Selvans wrote:
>> Zane Selvans <[EMAIL PROTECTED]> writes:
>>
>>> I also need to create a
>>> colorbar to act as a legend, describing what the colors of the lines
>>> means, in terms of values asso
Zane Selvans <[EMAIL PROTECTED]> writes:
>
> I'm plotting a bunch of lines on a map. They're being colored
> according to the value of an attribute associated with the objects
> they represent, using a colormap. However, I also need to create a
> colorbar
ms like this is something that should be trivially easy, but I
don't see how to do it in the documentation anywhere.
Thanks for any insight you might have...
Zane
--
Zane Selvans
Amateur Earthling
[EMAIL PROT
the plotting routine from
ipython 0.8.3 using the -pylab option.
The same script previously worked fine under Matplotlib 0.98.1
Other plotting routines from the same module seem to work fine - it's
only this plot within a loop that's giving me trouble.
Any ideas?
--
Zane Selvan
On Aug 22, 2008, at 5:08 AM, Jeff Whitaker wrote:
> Zane Selvans wrote:
>> I'm drawing several hundred lines at a time, each consisting of
>> 10-100 points, and it takes a couple of minutes for them all to
>> display, which makes me think I must be doing somethi
lines to draw? I'm sure there is and
I'm just being dense. Argh.
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
[EMAIL PROTECTED]
303/815-6866
PGP Key: 55E0815F
-
This SF.Net email is sponsored by th
a pain. Just curious if there was
>> anything out there to build on already...
>>
>> Thanks!
>>
>> --
>> Zane Selvans
>> Amateur Earthling
>> http://zaneselvans.org
>> [EMAIL PROTECTED]
>> 303/815-6866
>> PGP Key: 55E0815F
>
ready...
Thanks!
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
[EMAIL PROTECTED]
303/815-6866
PGP Key: 55E0815F
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest L
Does anyone out there happen to know a simple algorithm for least
squares fitting a great circle to a given set of lat/lon points on a
sphere? Seems like it might not be a crazy thing to add to the library.
Thanks!
Zane
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
[EMAIL
side to the other, connecting the two portions
of the feature.
There's this function "addcyclic", but I don't think it does what I
want. Actually, I'm not exactly clear on what it does.
Thanks for any insight you might have,
Zane
--
Zane Selvans
Amateur Earthling
? The NetworkX guys would probably know.
--
Zane Selvans
Amateur Human
[EMAIL PROTECTED]
303/815-6866
PGP Key: 55E0815F
begin:vcard
fn:Zane Selvans
n:Selvans;Zane
org:Earthlings
adr:;;200 S. Parkwood Ave.;Pasadena;CA;91107;USA
email;internet:[EMAIL PROTECTED]
title:Amateur Human
tel;cell:(303) 815
nd send it to the map for visualization. Mostly I need to be
able to analyze it.
Thanks for any suggestions on packages to look at.
I should dig deeper into Basemap to see what all it does.
Zane
Jeff Whitaker wrote:
Zane Selvans wrote:
Hello all,
I need to do analysis of vector data (linear fea
uths), best-fit
great circles, etc.
Thanks for any recommendations you might have,
Zane
--
Zane Selvans
Amateur Human
[EMAIL PROTECTED]
303/815-6866
PGP Key: 55E0815F
begin:vcard
fn:Zane Selvans
n:Selvans;Zane
org:Earthlings
adr:;;200 S. Parkwood Ave.;Pasadena;CA;91107;USA
email;internet:[EMAIL
emap and SciPy, does
anyone have a good recommendation for which NetCDF Python package to
use? Or issues I should consider?
Thanks for any insight,
Zane
--
Zane Selvans
Amateur Human
[EMAIL PROTECTED]
303/815-6866
PGP Key: 55E0815F
begin:vcard
fn:Zane Selvans
n:Selvans;Zane
org:Earthlings
adr:;
43 matches
Mail list logo