plot with manual created ticks of equal length
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to create a figure that has a Y-axis similar to this figure. Although it goes from 0.01 to 100 but it was controlled in a way to make it look a bit dense. Any ideas?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159506/image.jpeg)
and this is what I get when I do mine (these close values near 0 cant be distinguished and I need something to make it as clear as the figure above)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159508/image.jpeg)
0 个评论
采纳的回答
dpb
2014-3-26
Their values range from ~1 to 100 but they set the ylim lower limit to 0.1 so the base plateau is nearer the midpoint of the axis range. I can't exactly read yours for sure but if it's 0.01, set it to 0.001 as starters.
5 个评论
dpb
2014-3-26
You can do whatever you want... :) Whether it makes any sense or not is another question.
Your data is what it is -- that it might not be as pretty as that of the other figure is a different issue. Their range over roughly two orders of magnitude while yours seems to be ...
Oh, wait a minute...how did you plot your data? Did you use semilogy or
set(gca,'yscale','logarithmic')
if you used plot? If not, that's the whole problem of you're trying to plot semi-log data on a linear plot.
更多回答(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!