How to: xtick visibility

2 vues (au cours des 30 derniers jours)
Hello kity
Hello kity le 16 Jan 2013
Hi
how can i make xtick line visible: example, at 6 it is visible, but where there is data it is not...

Réponse acceptée

José-Luis
José-Luis le 16 Jan 2013
Modifié(e) : José-Luis le 16 Jan 2013
figure(1);
aH = axes;
hist(randn(1,1000));
set(aH,'TickDir','out');
Alternatively:
figure(2);
aH = axes;
hist(randn(1,1000));
h = findobj(aH,'Type','patch');
set(h,'facealpha',0.5)
  2 commentaires
Hello kity
Hello kity le 16 Jan 2013
Modifié(e) : Hello kity le 16 Jan 2013
first one did it, not what i was asking but lines below the axis is also fine :)
thank you
José-Luis
José-Luis le 16 Jan 2013
My pleasure.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by