On 09/25/2012 01:00 AM, v...@ukr.net wrote:
Hello!
I've been experiencing some problems with logarithmic scale plots
since the 'semilogy', 'semilogx' and 'loglog' options had been added.
For example, when I use the 'semilogy' plot, I can adjust the 'ymax'
value, but not 'ymin' value. 'ymin' is always set automatically, and
not always correctly.
There is some inconsistency between using xmin, xmax in the plot command as
plot(<something>, xmin=..,xmax=..),
and in the show command, as
plot(<something>).show(xmin=.., xmax=..).
Maybe a similar inconsistency is present in the ymin, ymax arguments.
There are some improvements proposed in ticket #13422, when the values
are given as part of the show() argument. I have to check if they fix
your behavior.
I prepared an example of the issue here:
http://sagenb.wombat.org.ua:8000/home/pub/2/
Great! Thanks for the examples. It always helps when we have some
nontrivial plots to check against. :)
In addition to incorrect lower limit of Y axis, the plot using
'semilogy' is also somewhat unstable. If I evaluate the cell time after
time without changing its contents, I obtain two alternating variants
of the plot - with two different actual ymin values.
Off the top of my head, I think this could be an artifact of your
example (very steep slope on one end), combined with the fact that some
small randomization, and adaptive generation of the plot points take
place during the plot.
Regards,
Vladimir
-----
<v...@ukr.net>
--
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.