#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:
-----------------------------------------+----------------------------------
Comment (by ppurka):
Replying to [comment:8 kcrisman]:
> 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.
This is #13368. The xmax when passed on to show works.
>
> 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.
The behavior is the same without this patch, except that the second plot
fails without this patch and passes with this patch. So this is some other
bug.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13422#comment:9>
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.