[sage-support] How to add grid lines to plot?

829 views
Skip to first unread message

Eugene Goldberg

unread,
May 6, 2010, 2:14:57 PM5/6/10
to sage-support
Hello!

There is plot:
p=plot(sin,0,2*pi)
How to add grid lines to this plot?

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

Mike Hansen

unread,
May 6, 2010, 3:03:51 PM5/6/10
to sage-s...@googlegroups.com
Hello,

On Thu, May 6, 2010 at 2:14 PM, Eugene Goldberg <omeg...@gmail.com> wrote:
> There is plot:
> p=plot(sin,0,2*pi)
> How to add grid lines to this plot?

plot(sin,0,2*pi,gridlines=True)

You can look at the documentation of plot for more examples.

--Mike
Reply all
Reply to author
Forward
0 new messages