Ask Your Question

Revision history [back]

I don't know any option to do that at once, but you can use something like:

var('x y')
line = 2*x + y
p = plot(...)
grid = sum(implicit_plot(line+k,...)  for k in srange(-1,1,0.2))
(p + grid).show()

to add the grid manually.