Filter löschen
Filter löschen

Can't remove xlabel from top graph

41 Ansichten (letzte 30 Tage)
Thomas Koelen
Thomas Koelen am 2 Apr. 2015
Kommentiert: Thomas Koelen am 2 Apr. 2015
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?

Antworten (1)

Titus Edelhofer
Titus Edelhofer am 2 Apr. 2015
Hi,
I guess mixing some of the techniques should work. Try
xlabel(handles.axes1, '');
Titus
  1 Kommentar
Thomas Koelen
Thomas Koelen am 2 Apr. 2015
Hello,
Solved it myself already! Had the xlabel('') above the plot function, so it didnt work.
Thanks anyways!
kind regards

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by