How to see if grid is on?

Hey,
Quick question: Is there a way to check if grid is on or off in a certain axes?
Cheers!

 Respuesta aceptada

TAB
TAB el 9 de Mayo de 2012

1 voto

get(AxesHandle,'XGrid')
get(AxesHandle,'YGrid')

Más respuestas (1)

Daniel Shub
Daniel Shub el 9 de Mayo de 2012

1 voto

get(gca, {'XGrid', 'YGrid', 'ZGrid'})

Etiquetas

Preguntada:

el 9 de Mayo de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by