#4529: Implement plots with logarithmic scale
--------------------------------------------------------------+-------------
Reporter: ronanpaixao | Owner:
ronanpaixao
Type: enhancement | Status:
needs_work
Priority: major | Milestone:
sage-5.1
Component: graphics | Resolution:
Keywords: plot log scale | Work issues:
add warnings to list_plot and non-integer bases
Report Upstream: N/A | Reviewers:
Karl-Dieter Crisman, Punarbasu Purkayastha
Authors: Punarbasu Purkayastha, Karl-Dieter Crisman | Merged in:
Dependencies: #12974 | Stopgaps:
--------------------------------------------------------------+-------------
Comment (by kcrisman):
Thanks for the latest work!
> Forgot about noninteger bases: I think we should discourage the users
from using them.
Hmm, ok. In that case maybe you can update your latest patch to still do
the "e" example but make it really clear that this is (currently) not
intended input? I don't want to actually check for integers, though;
presumably in some contexts one could want 1.5. Do you think I should
report this upstream to mpl?
> list_plot does seem to behave a bit weird sometimes. But if we use
plotjoined=True, then it works fine. Thanks for figuring out where it goes
awry. I will have a look into it. Should the fix go into a separate
ticket?
As long as we document that things can screw up on the x-axis for
list_plot if you don't use plotjoined=True. That can go in your patch
update too :)
> If we fix disk, then we need to weed out all the cases for the rest of
the commands in sage.plot.*
True. And I noticed the parametric business later on, good catch. I
think this might be worth doing. Again, I'm not really worried - we had
some fun laughing at the plots one gets from loglog plots of arcs and
circles here. But anyway.
> It seems matplotlib prefers log over linear and sets everything to log.
Oh, that explains what I saw. I have to say it was very weird.
I await the latest version of the last (?) patch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4529#comment:55>
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.