#5448: [with patch, needs work] rework save/show in plot, use Matplotlib's axes
code, upgrade matplotlib
-------------------------+--------------------------------------------------
Reporter: mhansen | Owner: mhansen
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-4.1.2
Component: graphics | Keywords:
Reviewer: | Author:
Merged: |
-------------------------+--------------------------------------------------
Comment(by kcrisman):
Comments on the latest iteration:
I like the new look of vector/slope fields, actually - clear, because
there are internal axes now!
Here are some small technical details I do not like, which cause it to
still "need work".
1. plot(x**2,-1,1) is unacceptable. No one will believe that even though
the origin is in the graph, the axes don't cross! Instead they will
assume that the origin is not in the graph. Presumably there is a way to
have the algorithm do this, though, on an adhoc basis.
2. plot(x**3,-1,1,axes_labels=['x','y']) shows that we should wait with
this patch until there is a good way to move the axes - this is too
confusing. Try replacing 'y' with 'zany' and it's just silly. Matplotlib
style axis labels only work with frames.
3. there needs to be a slightly better algorithm for deciding what
direction the ticks face. E.g. look at plot(x**3,-1,0).
4. compare plot(x**4,-1,54) and plot(x**4,-1,55). Notice how once the
scientific notation comes into play, matplotlib doesn't label correctly.
That's all I found for now :) But it's nice to have some time to try to
get this good. Assuming we actually want to do so, that is - is it more
effort than its worth? Maybe the matplotlib upgrade could be a separate
ticket, because that is certainly worthwhile and presumably doesn't cause
any problems.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5448#comment:26>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---