#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 jason):
Matplotlib has very nice pluggable formatting framework for ticks. The
standard formatter is this one:
http://matplotlib.sourceforge.net/api/ticker_api.html#matplotlib.ticker.ScalarFormatter
We can set it not to use scientific notation, or set the cutoff, or write
our own. Or we could use the FuncFormatter with our own (user-
overridable) function. Or we could just let the user pass a printf-style
format string and use another matplotlib pluggable formatter. Some
examples are:
http://matplotlib.sourceforge.net/examples/pylab_examples/newscalarformatter_demo.html
http://matplotlib.sourceforge.net/examples/pylab_examples/custom_ticker1.html
I think that once the matplotlib people get back to me about fixing the
bug or my misunderstanding where axis labels aren't correct for top or
right axes, we can post some images to sage-devel and move this forward on
a vote.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5448#comment:32>
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
-~----------~----~----~----~------~----~------~--~---