how to make a condition: if grid minor;
2 views (last 30 days)
Show older comments
Hi, how to make a condition, if grid minor; I am trying to do:
if grid==minor
a=1
else
a=0
end
0 Comments
Accepted Answer
Walter Roberson
on 7 Apr 2011
a = 0 + ismember('on', get(gca,{'XMinorGrid','YMinorGrid','ZMinorGrid'});
1 Comment
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!