#13528: ymin is not respected in logarithmic plots
----------------------------------+-----------------------------------------
       Reporter:  ppurka          |         Owner:  jason, was
           Type:  defect          |        Status:  new       
       Priority:  major           |     Milestone:  sage-5.4  
      Component:  graphics        |    Resolution:            
       Keywords:  log plot, ymin  |   Work issues:            
Report Upstream:  N/A             |     Reviewers:            
        Authors:                  |     Merged in:            
   Dependencies:                  |      Stopgaps:            
----------------------------------+-----------------------------------------
Description changed by ppurka:

Old description:

> See this [https://groups.google.com/forum/?fromgroups=#!topic/sage-
> devel/OnhVtHXgdls sage-devel thread]
>
> I've been experiencing some problems with logarithmic scale plots
> since the 'semilogy', 'semilogx' and 'loglog' options had been added.
>   For example, when I use the 'semilogy' plot, I can adjust the 'ymax'
> value, but not 'ymin' value. 'ymin' is always set automatically, and
> not always correctly.
>
> {{{
> dPhi = 6.02e10 * x**(2.481) * exp(-x / 1.205)
> plot(dPhi, 0, 20, scale='semilogy', figsize=(5,4), ymin=1e7, ymax=1e11,
> xmin=0, xmax=20, frame=True)
> }}}

New description:

 See this [https://groups.google.com/forum/?fromgroups=#!topic/sage-
 devel/OnhVtHXgdls sage-devel thread]

 1. I've been experiencing some problems with logarithmic scale plots since
 the 'semilogy', 'semilogx' and 'loglog' options had been added. For
 example, when I use the 'semilogy' plot, I can adjust the 'ymax' value,
 but not 'ymin' value. 'ymin' is always set automatically, and not always
 correctly.
 2.  I have also noticed that if I have several curves on a single
 'semilogy' plot, the lower Y limit is set according the minimum value of
 the FIRST curve.

 Example showing weird behavior on decreasing `ymin` to `1e3`, `1e4`, etc.,
 but exhibiting correct behavior on changing `ymax`.
 {{{
 dPhi = 6.02e10 * x**(2.481) * exp(-x / 1.205)
 plot(dPhi, 0, 20, scale='semilogy', figsize=(5,4), ymin=1e7, ymax=1e11,
 xmin=0, xmax=20, frame=True)
 }}}

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13528#comment:2>
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.

Reply via email to