Maike wrote:
> Hi Jason,
> 
> Thanks for the help! Which parameter is it that tells the axis to be
> on the left? My example is:
> 
> rsa = line([(2000,952),(2005,1149),(2010,1369),(2015,1613),(2020,1881),
> (2025,2174),(2030,2493),(2035,2840),(2040,3214)],rgbcolor="green")
> ecc = line([(2000,132),(2005,139),(2010,146),(2015,154),(2020,161),
> (2025,169),(2030,176),(2035,184),(2040,191)],rgbcolor="red")
> (rsa+ecc).save('bild.png',xmin=2000,xmax=2040,axes_labels=['year','key
> length in bits'],figsize=5)
> 
> Here I'd like the axis to be on the left. Can you tell me how to do
> this here? Thanks!


This doesn't totally answer you, but you could do a kludge by adding 
"frame=True, axes=False" to the save command.  That takes off the axes, 
but puts a frame around the plot.  After glancing through the source 
code in plot.py and axes.py in the devel/sage/sage/plot directory, it 
looks like the centered axes are automatically calculated and there 
isn't a way to change it currently.  If you need more flexibility, then 
I'd suggest either using pylab for now (like the other post pointed out) 
  or diving in and patching the code in Sage.

Jason



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to