Do you want log *ticks* or a log *scale*? #1431 is about the tickmarks,
not the scale. So my last comment on #4529 seems to not be correct, at
least referring to what #1431 turned out to be in the end.
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 would be pretty straightforward to add log scaling options to plot as
well---it's a single call in matplotlib. You can also just use
matplotlib directly:
http://matplotlib.sourceforge.net/examples/pylab_examples/log_demo.html?highlight=codex%20loglog
Thanks,
Jason
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.
Thanks,
Jason