semilogx におけるグリッドラインについて
古いコメントを表示
clear all
set(0,'DefaultAxesXGrid','on');% 常に grid on
set(0,'DefaultAxesYGrid','on');% 常に grid on
set(0,'DefaultAxesGridLineStyle','-');
x = [125 250 500 1000];
y = [1 2 4 3 ];
semilogx(x,y,'*-');
xx = num2cell(x);
xticks(x)
xticklabels(xx)
以上を実行すると以下のグラフが出力されます.実線のグリッドラインは残し,点線のグリッドラインとその部分の目盛りを消去する方法を教えてください.

採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で アプリの作成 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!