How to see if grid is on?

3 次查看(过去 30 天)
Hey,
Quick question: Is there a way to check if grid is on or off in a certain axes?
Cheers!

采纳的回答

TAB
TAB 2012-5-9
get(AxesHandle,'XGrid')
get(AxesHandle,'YGrid')

更多回答(1 个)

Daniel Shub
Daniel Shub 2012-5-9
get(gca, {'XGrid', 'YGrid', 'ZGrid'})

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by