How to: xtick visibility

2 views (last 30 days)
Hello kity
Hello kity on 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...

Accepted Answer

José-Luis
José-Luis on 16 Jan 2013
Edited: José-Luis on 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 Comments
Hello kity
Hello kity on 16 Jan 2013
Edited: Hello kity on 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 on 16 Jan 2013
My pleasure.

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!