#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:  Punarbasu Purkayastha  |     Merged in:            
   Dependencies:  #13422                 |      Stopgaps:            
-----------------------------------------+----------------------------------
Changes (by {'newvalue': u'Punarbasu Purkayastha', 'oldvalue': ''}):

  * dependencies:  => #13422
  * author:  => Punarbasu Purkayastha


Old 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)
> }}}

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. '''Can not reproduce this case -basu.'''

 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)
 }}}

 ----

 Apply to `devel/sage`:
 1. #13422
 2. [attachment:trac_13528-fix_axes_pad.patch]

--

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