#4529: Implement plots with logarithmic scale
-------------------------------+--------------------------------------------
    Reporter:  ronanpaixao     |         Owner:  ronanpaixao
        Type:  enhancement     |        Status:  new        
    Priority:  major           |     Milestone:  sage-5.0   
   Component:  graphics        |    Resolution:             
    Keywords:  plot log scale  |   Work_issues:             
    Upstream:  N/A             |      Reviewer:             
      Author:                  |        Merged:             
Dependencies:                  |  
-------------------------------+--------------------------------------------

Comment(by ppurka):

 [attachment:logplots.py] has a new class `LogGraphics` that I implemented
 and have been using for the past few months. Integrating it with Graphics
 seemed quite a painful process, so I had to go this direction and make my
 own class. Currently, it handles many ''but not all'' of the arguments
 that the `Graphics` class supports. In addition it uses `matplotlib.plt`
 to do the log plot; otherwise I ran into all sorts of problems with
 matplotlib (like the ones mentioned in earlier comments).

 In engineering, we often need logarithmic plots and the logarithmic plots
 sometimes is of the form that the x-axis ''decreases'' as we go towards
 the right (for example if we plot decreasing probabilities on the x-axis).
 This `LogGraphics` takes this into account and makes sure that if a list
 of x-axis points with decreasing values along the higher indices of the
 list, then it plots the graph with a decreasing x-axis.

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