Can't remove xlabel from top graph
41 次查看(过去 30 天)
显示 更早的评论
Picture here:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148602/image.png)
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?
0 个评论
回答(1 个)
Titus Edelhofer
2015-4-2
Hi,
I guess mixing some of the techniques should work. Try
xlabel(handles.axes1, '');
Titus
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!