How to see if grid is on?

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일

1 개 추천

get(AxesHandle,'XGrid')
get(AxesHandle,'YGrid')

추가 답변 (1개)

Daniel Shub
Daniel Shub 2012년 5월 9일

1 개 추천

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