Sorry, the behaviour I reported is caused by something else. I copied 
the cell code that produced different plots at every evaluation into a 
new notebook and got consistent results every time. Even copying and 
pasting into a new cell got rid of the random behaviour of the axes. 
Very weird. I take it back then and stop blaming the plot command for 
this. The issue about disappearing axes ticks that you commented on 
below would be great to fix, though. It may be easier than solving 
ticket #5448, so I hope someone will do it.
Thanks again for helping me track down the issue.

Cheers,
Stan

kcrisman wrote:
>> should be the highest value of the plot. I assume that the show
>> boundaries overwrite the plot boundaries. I can see that this is
>> necessary if a function has a vertical asymptote in the plotted range,
>> but maybe it would be helpful to still make sure that the values at the
>>     
>
> Again, I don't think this is what is happening.  For instance,
>
> sage: Q = plot(2^(-20*x),(x,1,10))
> sage: Q.get_minmax_data()['ymax']
> 9.5367431640625e-07
> sage: 2^(-20)
> 1/1048576
> sage: _.n()
> 9.53674316406250e-7
>
> All your data is plotted.
>
> What is happening is that axis creation needs work.  In this case, it
> turns out that the offense is that there is no check for numbers with
> the e- notation for lots of zeros (e+ works without an explicit
> check).  That probably wouldn't be too hard to fix for someone who is
> comfortable with Python string stuff, though I am not sure exactly how
> it would end up looking typeset.  For comparison, try
>
> sage: plot(2^(20*x),(x,10,50))
>
> which seems to be about as much as float can handle (e+300, about); it
> can cut off the left-hand part of the numbers.
>
> - kcrisman
> >
>   

-- 
________________________________________

Stan Schymanski
Scientist
Max Planck Institute for Biogeochemistry
Postfach 10 01 64
D-07701 Jena

Phone: +49.3641.576264
Fax: +49.3641.577274
WWW: http://www.bgc-jena.mpg.de/~sschym

Biospheric Theory and Modelling Group
http://www.bgc-jena.mpg.de/bgc-theory/
_________________________________________


--~--~---------~--~----~------------~-------~--~----~
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
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to