On 09/27/2012 04:06 PM, P Purkayastha wrote:
On 09/25/2012 04:02 AM, v...@ukr.net wrote:
Hello!
On Mon, 24 Sep 2012 11:07:46 -0700 (PDT)
P Purkayastha<ppu...@gmail.com> wrote:
This is now #13528. Not sure what is causing it though. :)
We don't touch those parameters while doing log plots, as far as I
can tell.
I have also noticed that if I have several curves on a single
'semilogy' plot, the lower Y limit is set according the minimum value of
the FIRST curve. I thought it might be useful for debugging.
I have never seen this problem. Even going by your example, this doesn't
show any problems:
plot(dPhi, 0, 20, scale='semilogy', ymin=1e5, frame=True) + plot(10**x,
(3, 7), scale='semilogy')
I have however been able to pinpoint why we are not being able to set
ymin. The reason is the use of a non-zero amount of axes_pad. In all of
your example plots, append the keyword "axes_pad=0" and you will see
that ymin is being set correctly. An example of it's usage is:
dPhi = 6.02e10 * x**(2.481) * exp(-x / 1.205)
plot(dPhi, 0.4, 20, scale='semilogy', figsize=(5,4), ymin=1e4,
ymax=1e11, xmin=0, xmax=20, frame=True, axes_pad=0)
As a follow up, maybe we should disable axes_pad for log plots. The fix
for this ymin problem is really ugly.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.