how to make a condition: if grid minor;
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, how to make a condition, if grid minor; I am trying to do:
if grid==minor
a=1
else
a=0
end
0 Commenti
Risposta accettata
Walter Roberson
il 7 Apr 2011
a = 0 + ismember('on', get(gca,{'XMinorGrid','YMinorGrid','ZMinorGrid'});
1 Commento
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Other Formats in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!