#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):
>
> > 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).
>
> Agreed. Do you have a suggestion? Maybe if the axis is in the middle
of the picture, put ticks on both sides, and if it is on the side of the
picture, put ticks facing inwards?
>
I thought that was already the convention, but it was screwed up in this
plot. I think that in general ticks on the right/top are okay, except
where the axis is beyond the entire plot. Probably that isn't the case
for this plot, but it still looks weird.
>
> >
> > 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.
>
> As in the top is cut off? Is that what you are talking about?
>
> We can change how the labels are printed pretty easily. What do you
suggest?
>
No, I mean that the labels are WRONG. The scientific notation only shows
up at the very top e.g. 2e8 or something, and the rest are just 1, 1.5,
etc; certainly the fourth power function does not stay around 1, 1.5 very
long. Having 2e8 or 1.5e8 is okay, of course.
> >
> > 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.
>
> This is great. I think we are close enough to being done with this (or
at least, close enough to a sage-devel discussion) that it's not worth
trying to package 0.99.0 separately. Most of the reason why 0.99.0 is
worth it is for these changes, I think.
>
Okay.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5448#comment:29>
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
-~----------~----~----~----~------~----~------~--~---