I am seeing some strange things with the labelling of axes in
matplotlib.

Here is an example from the matplotlib webpage (http://
matplotlib.sourceforge.net/tutorial.html)
(It is the third example graph down the page)

from pylab import *
t = arange(0.0, 5.2, 0.2)
plot(t, t, 'r--', t, t**2, 'bs', t, t**3, 'g^')
savefig('test.png')

Try this in sage and compare to the graph shown on the website.

First problem, the y-axis labelling is different.  On the matplotlib
page, the largest y-axis value labeled is 140.
In sage, it is 1.4 x1e+2.  This may not be a bug, it may just be that
I cannot figure out the right switch to
throw to change how the axes are labelled.   I checked pylab.axis()
and pylab.axes()... could not find anything.

Second problem.  Notice their x-axis goes up to 5.0 (strange that it
doesn't go to 5.2).
In sage, the axis goes to 6.0   No idea why they are different.

The first problem is the one that I care about.  It affects
readability for less-tecchnical audiences.  The second
may just point to a small bug in the interface between sage and
matplotlib that could bother someone else
down the road.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to