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
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
, Zane Selvans wrote:
Yes. By far the worst of these behaviors is the
macosx GUI output. I
could see the other ones just being the way it's
supposed to look.
Here's a summary:
backend: macosx; path.simplify: (false|true) GUI =
black borders to
drawn polygons (incl. contour region crossing
an associated GUI, you need to use
the savefig() command and provide a filename, 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
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
this behavior 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
Zane Selvans wrote:
I just installed
().
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 display to the screen (it said Figure has no method show())
So I output the plot as both a PDF and a PNG
and provide a filename, 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 display to the screen (it said Figure has no method show
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
On Fri, Aug 8, 2008 at 10:35 AM, Charles R Harris
charlesr.har...@gmail.com wrote:
On Mon, Aug 4, 2008 at 11:48 AM, Zane Selvans z...@ideotrope.org 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
,
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...@ideotrope.org
303/815-6866
http
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
--
SF.Net email
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!
Zane
--
Zane Selvans
Amateur Earthling
[EMAIL
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.org
PGP Key: 55E0815F
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]
303/815-6866
http://zaneselvans.org
PGP Key: 55E0815F
--
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 Move Developer's challenge
Build the coolest Linux based
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 formatters. Thanks for all your help!
Zane
--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED]
303/815
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 Selvans
Amateur Earthling
[EMAIL PROTECTED
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 Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key: 55E0815F
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: 55E0815F
, 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: 55E0815F
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 PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key: 55E0815F
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
Amateur Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key: 55E0815F
of 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: 55E0815F
/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
--
Zane Selvans
Amateur Earthling
mailing lists .r6221
You can file bugs, patches and feature requests on the sourceforge
tracker, but it is a good idea to ping us on the mailing list too.
--
Zane Selvans
Amateur Earthling
[EMAIL PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key: 55E0815F
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 designed to work
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 to act as a legend, describing what
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 associated with that attribute.
I've found
, 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 PROTECTED]
303/815-6866
http://zaneselvans.org
PGP Key: 55E0815F
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 something stupid.
Zane: You can set up
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 the Moblin Your Move Developer's
...
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 Linux based
there to build on already...
Thanks!
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
[EMAIL PROTECTED]
303/815-6866
PGP Key: 55E0815F
Zane: You can use Basemap to plot GIS data you've read in with ogr/
gdal. There's an example included with basemap (testgdal.py). I'm
not a gdal
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
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
http://zaneselvans.org
[EMAIL
? 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
, 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 PROTECTED]
title:Amateur Human
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:;;200 S. Parkwood Ave.;Pasadena;CA;91107;USA
email;internet:[EMAIL
40 matches
Mail list logo