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 Exchange에서 2-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