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 日

0 投票

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
José-Luis
José-Luis 2013 年 1 月 16 日
My pleasure.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by