plot with manual created ticks of equal length

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?
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)

 Accepted Answer

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

my question is that although their range is 0.1 to 100 but those points around zero are still clear. How can I do to have a similar trend?
Those points are approx 10^0 ==> 1, not 0.
It's a logarithmic axis. To get your plateau for data near 0.01 to show up similarly in a plot as said set the lower xlim value to 0.001 for starters.
I did, but since the scale goes to 100, then it tries to make it compact near the 10^0 and hence you cant distinguish around this y-value. In the first example that I am trying to mimic, they have enforced it to be clear and I am asking if I can do something other than ylim
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.
Perfect. You are right :)
Thanks a lot man :)

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Asked:

on 26 Mar 2014

Commented:

on 26 Mar 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!