Can't remove xlabel from top graph

Picture here:
I cant seem to delete the top graphs xlabel that says X,
what I tried is:
set(handles.axes1, 'XTickLabel', [])
set(gca, 'XTickLabel', [])
xlabel('')
none of these work.
Does anyone know why?

回答 (1 件)

Titus Edelhofer
Titus Edelhofer 2015 年 4 月 2 日

0 投票

Hi,
I guess mixing some of the techniques should work. Try
xlabel(handles.axes1, '');
Titus

1 件のコメント

Thomas Koelen
Thomas Koelen 2015 年 4 月 2 日
Hello,
Solved it myself already! Had the xlabel('') above the plot function, so it didnt work.
Thanks anyways!
kind regards

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

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

タグ

質問済み:

2015 年 4 月 2 日

コメント済み:

2015 年 4 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by