#2922: scale function for plot_vector_field
-------------------------+--------------------------------------------------
Reporter: schilly | Owner: was
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.1.2
Component: graphics | Keywords:
Reviewer: | Author:
Merged: |
-------------------------+--------------------------------------------------
Changes (by kcrisman):
* cc: jason (added)
Comment:
This would be good. There are two options for this.
1. Rewrite the matplotlib scale to take either a number or a callable
function, and somehow make the Sage interface to this make scaling do what
one would expect (the mpl scale does NOT behave as expected, as it
essentially makes its own adhoc function similar to ones above).
2. Get at the underlying matplotlib object for each and every arrow in the
Quiver and adjust the length.
I'm not sure how the second one could even happen. But the first one
requires some non-trivial changes to matplotlib.quiver (since currently
scale is an attribute only), and probably should be sent upstream if done.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2922#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---