get_xgridlines (was get_gridlines)

Okay, I'll answer my own question. After looking through the code, it appears I have to do a xgridlines - not gridlines, like:

glines = getp(gca(), 'xgridlines')

···

Hi list,

The tutorial indicated that I can use gca to get at the grid
by doing a:

glines = getp(gca(), 'gridlines')
but when I do that, I get a "Subplot instance has no
attribute "get_gridlines".

How do I get to the grid object?

Thanks,

--
John Henry

--
John Henry