how to make a condition: if grid minor;
2 ビュー (過去 30 日間)
古いコメントを表示
Hi, how to make a condition, if grid minor; I am trying to do:
if grid==minor
a=1
else
a=0
end
0 件のコメント
採用された回答
Walter Roberson
2011 年 4 月 7 日
a = 0 + ismember('on', get(gca,{'XMinorGrid','YMinorGrid','ZMinorGrid'});
1 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!