#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:             
Report Upstream:  N/A             |     Reviewers:             
        Authors:                  |     Merged in:             
   Dependencies:  12974           |      Stopgaps:             
----------------------------------+-----------------------------------------

Comment (by ppurka):

 Replying to [comment:22 ppurka]:
 > Hmm.. there is still a problem if I modify the `Graphics` class. It
 becomes impossible to add 2D and 3D graphics.

 It was a silly thing. I just needed to reorder the check for `._*scale` to
 after the check for `Graphics3d` in `__add__()`. The updated patch now
 passes all doctests in `sage/plot`! Also, `SHOW_OPTIONS, matplotlib()`
 have two extra arguments: `scale`, `base` which are identical in behavior
 to the arguments in `set_scale()`. So, now it is possible to do this:
 {{{
 p = plot(exp, 1, 10)
 p.show(scale=('loglog', 2))
 }}}

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