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?

Respuestas (1)

Titus Edelhofer
Titus Edelhofer el 2 de Abr. de 2015
Hi,
I guess mixing some of the techniques should work. Try
xlabel(handles.axes1, '');
Titus

1 comentario

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

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 2 de Abr. de 2015

Comentada:

el 2 de Abr. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by