how to make a condition: if grid minor;

 Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Abr. de 2011
a = 0 + ismember('on', get(gca,{'XMinorGrid','YMinorGrid','ZMinorGrid'});

1 comentario

Paulo Silva
Paulo Silva el 7 de Abr. de 2011
that's a very sneaky way to convert logical to double :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by