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,

 채택된 답변

Sebastian Holmqvist
Sebastian Holmqvist 2012년 7월 11일

1 개 추천

axes_handle = axes(n)
plot(x, y)
grid(axes_handle, 'on')

추가 답변 (3개)

Ilham Hardy
Ilham Hardy 2012년 7월 11일

0 개 추천

Use grid on after every plot (/subplot) command.
Michael Adelman
Michael Adelman 2012년 7월 11일

0 개 추천

Tried that, it doesn't help.
Michael Adelman
Michael Adelman 2012년 7월 11일

0 개 추천

Thank you Sebastian, it helped.

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by