How to: xtick visibility

Hi
how can i make xtick line visible: example, at 6 it is visible, but where there is data it is not...

 Akzeptierte Antwort

José-Luis
José-Luis am 16 Jan. 2013
Bearbeitet: José-Luis am 16 Jan. 2013

0 Stimmen

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 Kommentare

Hello kity
Hello kity am 16 Jan. 2013
Bearbeitet: Hello kity am 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 am 16 Jan. 2013
My pleasure.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by