semilogy tick marker is missing

5 次查看(过去 30 天)
Hi everyone,
Markers at Y lower limits are missing.
How can I fix that? Thanks!
Rui

采纳的回答

dpb
dpb 2013-7-14
Don't set the lower limit to 0.2 as it appears you have, leave it at 0.1
IOW, use
ylim([0.1 20])
instead of the
ylim([0.2 20])
you appear to have done based on the plot image
  3 个评论
dpb
dpb 2013-7-14
编辑:dpb 2013-7-14
Or, if you can stand to not have the exponent, you can set the ytick values manually...try the following to see how handle graphics deals w/ the log axis tick labels--
semilogy([0 6], [15 .1])
ylim([0.2 20])
get(gca,'ytick')
get(gca,'yticklab')
set(gca,'ytick',[.2 1 10])
set(gca,'ytick',[ 1 10])
Salt to suit...

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by