Does anybody have a good method for implementing cyclic boundaries in matplotlib axes?

It's easy when plotting points to just mod() the values before sending them to the plot, but when drawing lines or patches, it would be nice if there were an underlying mechanism for intelligently splitting the patch or line when it runs off the edge (instead of either not seeing it, or calling mod() and getting the mess of lines dragged all the way across the plot to where they continue on the other side). I'd use this primarily for global-scale maps in Basemap... but I could 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.org
PGP Key: 55E0815F








-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to