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...

 采纳的回答

José-Luis
José-Luis 2013-1-16
编辑:José-Luis 2013-1-16
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 个评论

Hello kity
Hello kity 2013-1-16
编辑:Hello kity 2013-1-16
first one did it, not what i was asking but lines below the axis is also fine :)
thank you
My pleasure.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Axis Labels 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by