semilogy tick marker is missing

Hi everyone,
Markers at Y lower limits are missing.
How can I fix that? Thanks!
Rui

 Réponse acceptée

dpb
dpb le 14 Juil 2013

0 votes

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 commentaires

Rui
Rui le 14 Juil 2013
Hi dpb, thanks a lot! You are right. My tick limit is a little smaller than my plot limit...
dpb
dpb le 14 Juil 2013
Modifié(e) : dpb le 14 Juil 2013
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...
Rui
Rui le 14 Juil 2013
Thanks again!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Axes Appearance dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by