How to see if grid is on?

1 回表示 (過去 30 日間)
Jakob Sørensen
Jakob Sørensen 2012 年 5 月 9 日
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 件のコメント
Jakob Sørensen
Jakob Sørensen 2012 年 5 月 9 日
Thanks!

サインインしてコメントする。

その他の回答 (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