#4529: Implement plots with logarithmic scale
-------------------------------+--------------------------------------------
Reporter: ronanpaixao | Owner: ronanpaixao
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.7.2
Component: graphics | Resolution:
Keywords: plot log scale | Work_issues:
Upstream: N/A | Reviewer:
Author: | Merged:
Dependencies: |
-------------------------------+--------------------------------------------
Comment(by kcrisman):
My sense is that the API should look like the tick marks API.
Here are some comments Jason made on sage-support about this.
{{{
> To change the scale, you can modify the plot afterwards, but I am
> running into some sort of problem doing it:
> sage: p=plot(e^x,(x,0,10))
> sage: m=p.matplotlib()
> sage: from matplotlib.backends.backend_agg import FigureCanvasAgg
> sage: m.set_canvas(FigureCanvasAgg(m))
> sage: m.gca().set_yscale('log')
> sage: m.savefig('test.png')
It seems something was wrong with the plot in the above example, or
something. Anyways, starting with:
p=plot(x,(x,1,10))
works fine.
To do #4529, I'd suggest adding a keyword to show that defines the
scales of the x and y axes. I've added some comments to the ticket.
}}}
----
How was I not cc:ed on this ticket before? ;-)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4529#comment:9>
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.