Jason Grout wrote:
> Maike wrote:
>> Hello,
>>
>> I've tried looking at all the plot options in the documentation, but I
>> can't find how to do the following. Maybe someone can help...
>>
>> * control over the scaling of the y-axis. I can choose xmin and xmax,
>> but the range of the y-axis is always chosen automatically.
>> * control over where the y-axis is located. It sometimes just ends up
>> right smack in the middle of the graph and looks dumb, I'd prefer for
>> it to be on the left.
> 
> 
> For these two, use the "ymin" and "ymax" options in show when you show 
> the plot.  Something like:
> 
> sage: plot(sin(x), (x, -pi, pi)).show(ymin=-1, ymax=3)
> 

Sorry, I misread your second point.  The following example puts the 
y-axis on the left:

sage: plot(sin(x), (x, 0, pi)).show(ymin=-1,ymax=-3)

Does that help?

Jason


--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to