Semi-log stem plot
63 次查看(过去 30 天)
显示 更早的评论
Hello, do you know how the hide the horizontal line y=10^0 when using stem plot with log scale on the y axis? Matlab always draws that line as a basis for the stems, but I don't have them displayed, so it is superfluous. Thank you!
stem([1 2 3],[0.1 0.5 10],'linestyle','none')
set(gca,'yscal','log')
0 个评论
采纳的回答
the cyclist
2013-6-13
编辑:the cyclist
2013-6-13
figure
h = stem([1 2 3],[0.1 0.5 10],'linestyle','none');
hb = get(h,'Baseline');
set(hb,'Visible','off')
set(gca,'yscal','log')
But, may I ask ...
If you don't want the baseline and stems, then why not just use the plot() command?
plot([1 2 3],[0.1 0.5 10],'o')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Stem Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!