Trying to use R for plots,
sage: import os
sage: filename = os.tempnam('./','aaa') + '.png'
sage: r.png(file='"%s"'%filename)
sage: a= r( [1.e-35, 2.e-35, 3.e-35, 6.e-35, 7.e-35, 8.1e-35 ])
sage: b= r( [4, 5, 6, 12, 3, 6])
sage: r.plot( a, b, col=2, xlab='x', ylab='y' )
sage: r.dev_off()
gets me a good set of axis tick labels,
but translates the strings 'x' and 'y' to numerical values.
How can I pass it strings?
Thank you,
-gerhard
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---