The part of the reference manual under Pi Axis is relevant:

Pi Axis:

sage: g1 = plot(sin(x), 0, 2*pi)
sage: g2 = plot(cos(x), 0, 2*pi, linestyle = "--")
sage: (g1+g2).show(ticks=pi/6, tick_formatter=pi)  # show their sum,
nicely formatted



On Nov 30, 3:36 pm, David Joyner <wdjoy...@gmail.com> wrote:
> Does the pagehttp://sagemath.org/doc/reference/sage/plot/plot.html
> help? You can search the page for the text "tick" to see
> examples which might be relevant.
>
> I'm cc'ing sage-support in case others there know a better answer.
>
>
>
>
>
>
>
> On Tue, Nov 30, 2010 at 2:08 PM, Maura Murray <maura.mur...@gmail.com> wrote:
> > Hi,
>
> > Is there an easy way to change the axes in plot so that the ticks are
> > marked at intervals of pi/4 or pi/2?
>
> > Thanks,
> > Maura
>
> > P.S.- If I've posted this question to the wrong forum, please let me
> > know a better place to post the question. Thanks!
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "sage-edu" group.
> > To post to this group, send email to sage-...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > sage-edu+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/sage-edu?hl=en.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to