How to: xtick visibility

2 visualizzazioni (ultimi 30 giorni)
Hello kity
Hello kity il 16 Gen 2013
Hi
how can i make xtick line visible: example, at 6 it is visible, but where there is data it is not...

Risposta accettata

José-Luis
José-Luis il 16 Gen 2013
Modificato: José-Luis il 16 Gen 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 Commenti
Hello kity
Hello kity il 16 Gen 2013
Modificato: Hello kity il 16 Gen 2013
first one did it, not what i was asking but lines below the axis is also fine :)
thank you
José-Luis
José-Luis il 16 Gen 2013
My pleasure.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by