how to show grid lines?
65 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Sean de Wolski
2011 年 9 月 8 日
Do you have anything plotted? There has to be something plotted for the grid to be visible.
plot(1:10);grid on
0 件のコメント
その他の回答 (1 件)
Grzegorz Knor
2011 年 9 月 8 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!