How to erase grid line
11 次查看(过去 30 天)
显示 更早的评论
clear all
set(0,'DefaultAxesXGrid','on');
set(0,'DefaultAxesYGrid','on');
set(0,'DefaultAxesGridLineStyle','-');
x = [125 250 500 1000];
y = [1 2 4 3 ];
semilogx(x,y,'*-');
xx = num2cell(x);
xticks(x)
xticklabels(xx)
I want to keep solid grid lines but erase dotted grid lines .
How do I erase that?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!