#4529: Implement plots with logarithmic scale
----------------------------------+-----------------------------------------
       Reporter:  ronanpaixao     |         Owner:  ronanpaixao 
           Type:  enhancement     |        Status:  needs_review
       Priority:  major           |     Milestone:  sage-5.0    
      Component:  graphics        |    Resolution:              
       Keywords:  plot log scale  |   Work issues:              
Report Upstream:  N/A             |     Reviewers:              
        Authors:                  |     Merged in:              
   Dependencies:                  |      Stopgaps:              
----------------------------------+-----------------------------------------

Comment (by ppurka):

 I am not sure if this needs to be set to "needs_review". The main thing it
 is lacking is that it doesn't inherit the `Graphics` class, and hence the
 set of plot options it supports is much less.

 On the other hand, I did try to make it inherit the `Graphics` class but
 then I ran into a big hurdle: the variables in the `Graphics` class are
 defined with double underscore `__` and so even after I inherit it, I need
 to use (IMHO ugly) setters and getters in order to access those variables.
 I tried to overcome this limitation by inheriting `Graphics` in the class
 `LogGraphics` and defining a separate (and mostly identical) `__init__` in
 `LogGraphics` but then the methods wouldn't work. Since I needed to
 rewrite almost everything, I decided to just rewrite everything from
 scratch.

 One thing that I plan to do is change all the variables in the `Graphics`
 class to be defined with a single `_` and see how it works out. Perhaps
 then it might be possible to integrate this patch better and consequently
 have access to all the methods (and hence plot options) available to the
 `plot` command.

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