how to make a condition: if grid minor;
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, how to make a condition, if grid minor; I am trying to do:
if grid==minor
a=1
else
a=0
end
0 comentarios
Respuesta aceptada
Walter Roberson
el 7 de Abr. de 2011
a = 0 + ismember('on', get(gca,{'XMinorGrid','YMinorGrid','ZMinorGrid'});
1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre Other Formats en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!