how to show grid lines?
65 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear sir/madam,
I gave the command grid on, but no grid lines were shown on the figure window. Why is it so? What is the right way to get grid lines? Looking forward to hearing from you soon.
Thanking you, BSD
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 8 Sep. 2011
Do you have anything plotted? There has to be something plotted for the grid to be visible.
plot(1:10);grid on
0 Kommentare
Weitere Antworten (1)
Grzegorz Knor
am 8 Sep. 2011
Do you have specified XTick and YTick? Look at these examples:
plot(1:10)
grid on
and:
plot(1:10)
grid on
set(gca,'XTick',[])
set(gca,'YTick',[])
0 Kommentare
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!