#13422: Log scale plots should auto-expand axes range to include at least 2
ticks
-----------------------------------------+----------------------------------
Reporter: ppurka | Owner: jason, was
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.11
Component: graphics | Resolution:
Keywords: log plot | Work issues:
Report Upstream: N/A | Reviewers: Karl-Dieter Crisman
Authors: Punarbasu Purkayastha | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------+----------------------------------
Changes (by kcrisman):
* status: needs_review => needs_work
* reviewer: => Karl-Dieter Crisman
Comment:
Hi ppurka!
Compare
{{{
sage: plot_loglog(x^2,(x,1,100),base=10,xmax=1.1)
sage: plot_loglog(x^2,(x,1,100),base=10,ymax = 1.1)
}}}
In principle, they should both curtail the plot (in different directions,
of course). But only the second one does.
Another one:
{{{
sage: plot_loglog(x^2,(x,1,100),base=10,ticks=[[],[]])
sage: plot_loglog(x^2,(x,1,2),base=10,ticks=[[],[]])
}}}
Neither one of these plots axes, but they don't raise the error. With
putting one tick each, then we are fine. But I'm not sure what we really
want here.
(I'm not going to bother with the rebase because right now it just is
removing a few removals of whitespace, so all one has to do is do `hg
qrefresh` and that's it.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13422#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.