[matplotlib-devel] Problem with Quiver+Basemap

2010-03-26 Thread Ryan May
Eric,

I just hit a problem with using quiver with Basemap when when
angles='xy'.  Because Basemap's x,y units are in meters, you end up
with angles that are quantized due to floating point truncation
(3. + 0.001*u = 3.).  Changing to angles='uv' fixes the
problem, but it probably should be automatically scaled, as noted in
the comments:

elif self.angles == 'xy' or self.scale_units == 'xy':
# We could refine this by calculating eps based on
# the magnitude of U, V relative to that of X, Y,
# to ensure we are always making small shifts in X, Y.

I managed to fix the problem locally by setting:

angles, lengths = self._angles_lengths(U, V, eps=0.0001 *
self.XY.max())

but I'm not sure if you would want a different fix. If you're happy
with this fix, I'll go ahead an check in.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

--
Download IntelĀ® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find 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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] SciPy 2010 Tutorials: brainstorming and call for proposals

2010-03-26 Thread Brian Granger
Greetings everyone,

This year, there will be two days of tutorials (June 28th and 29th) before the
main SciPy 2010 conference. Each of the two tutorial tracks (intro, advanced)
will have a 3-4 hour morning and afternoon session both days, for a total of 4
intro sessions and 4 advanced sessions.

The main tutorial web page for SciPy 2010 is here:

http://conference.scipy.org/scipy2010/tutorials.html

We are currently in the process of planning the tutorial sessions. You
can help us in two ways:

Brainstorm/vote on potential tutorial topics


To help us plan the tutorials, we have setup a web site that allow everyone in
the community to brainstorm and vote on tutorial ideas/topics.

The website for brainstorming/voting is here:

http://conference.scipy.org/scipy2010/tutorialsUV.html

The tutorial committee will use this information to help select the tutorials.
Please jump in and let us know what tutorial topics you would like to see.

Tutorial proposal submissions
=

We are now accepting tutorial proposals from individuals or teams that would
like to present a tutorial. Tutorials should be focused on covering a well
defined topic in a hands on manner. We want to see tutorial attendees coding!

We are pleased to offer tutorial presenters stipends this year for the first
time:

* 1 Session: $1,000 (half day)
* 2 Sessions: $1,500 (full day)

Optionally, part of this stipend can be applied to the presenter's
registration costs.

To submit a tutorial proposal please submit the following materials
to 2010tutori...@scipy.org by April 15:

* A short bio of the presenter or team members.
* Which track the tutorial would be in (intro or advanced).
* A short description and/or outline of the tutorial content.
* A list of Python packages that attendees will need to have installed to
  follow along.

--
Download IntelĀ® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find 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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel