#5448: [with patch, positive review] 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: Jason Grout
Merged: |
-------------------------+--------------------------------------------------
Comment(by kcrisman):
Positive review - behaves as advertised after actually viewing many, many
of the plots in the sage/plot/ directory, and testing on a few others
which had given trouble before.
I look forward to doing custom axes soon; perhaps that should be wrapped,
and then a few other tickets could be closed. These might include (not
just axes-related, and not necessarily, but worth checking into) #6548,
#5645, #5128, #4689, #4384, #4194, #2900, #2189, and #1431. Good things;
transparent definitely DOES now work, complex plots and matrix plots look
better because they're "set off" a bit, etc.
Here are things to address in a follow-up ticket, at least maybe:
Contour plot - if fill=False and contours are grayscale, the axes could be
misinterpreted
Contour plot - show(axes=False) and show(axes=True) seem to be identical
on the last example
Plotting - how well documented is the new axis behavior, where it does NOT
intersect? This should be clear, e.g. the Riemann zeta example in plot.py
looks funny, until you realize it's from 1 to 27. It still seems weird to
me when it's that close, but I suppose it's okay as long as it is very
very clear in documentation.
Axis labels - should point out difference between ['x','y'] and
['$x$','$y$']. Some people might not like the LaTeXed version
When scientific notation comes into play is not always clear, and should
be in the documentation - compare plot(x**2, 490,500) and
plot(x**2,-490,500), which have the same "height" but only one gets e,
presumably since it covers a larger range
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5448#comment:48>
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
-~----------~----~----~----~------~----~------~--~---