plot with manual created ticks of equal length
2 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
dpb
on 26 Mar 2014
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 Comments
dpb
on 26 Mar 2014
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.
More Answers (0)
See Also
Categories
Find more on Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!