Effacer les filtres
Effacer les filtres

grid on in gui

14 vues (au cours des 30 derniers jours)
Michael Adelman
Michael Adelman le 11 Juil 2012
HI,
I have six axes in my gui, and I want that everyone of them will be with grid on. simple command grid on, apply only on one of the plots randomly at each run.
how to resolve this?
thanks,

Réponse acceptée

Sebastian Holmqvist
Sebastian Holmqvist le 11 Juil 2012
axes_handle = axes(n)
plot(x, y)
grid(axes_handle, 'on')

Plus de réponses (3)

Ilham Hardy
Ilham Hardy le 11 Juil 2012
Use grid on after every plot (/subplot) command.

Michael Adelman
Michael Adelman le 11 Juil 2012
Tried that, it doesn't help.

Michael Adelman
Michael Adelman le 11 Juil 2012
Thank you Sebastian, it helped.
  1 commentaire
Sebastian Holmqvist
Sebastian Holmqvist le 12 Juil 2012
Glad to help!

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by