How to see if grid is on?

3 visualizzazioni (ultimi 30 giorni)
Jakob Sørensen
Jakob Sørensen il 9 Mag 2012
Hey,
Quick question: Is there a way to check if grid is on or off in a certain axes?
Cheers!

Risposta accettata

TAB
TAB il 9 Mag 2012
get(AxesHandle,'XGrid')
get(AxesHandle,'YGrid')

Più risposte (1)

Daniel Shub
Daniel Shub il 9 Mag 2012
get(gca, {'XGrid', 'YGrid', 'ZGrid'})

Community Treasure Hunt

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

Start Hunting!

Translated by