hello. why i cannot edit the title.

20 visualizaciones (últimos 30 días)
ebie irene
ebie irene el 27 de Dic. de 2018
Respondida: Image Analyst el 27 de Dic. de 2018
i try to change the title but the output title still remain the same :
ylabel('Frequency [kHz]','Parent',axeAct);
  3 comentarios
ebie irene
ebie irene el 27 de Dic. de 2018
same goes to xlabel.
per isakson
per isakson el 27 de Dic. de 2018
try
help title

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 27 de Dic. de 2018
That line of code changes the text beside the vertical, Y, axis, not the "title" over the whole graph.
Use title() if you want to change the title over the whole graph.
title(axeAct, 'Frequency [kHz] vs. X'); % Change title
ylabel(axeAct, 'Frequency [kHz]'); % Change y label
xlabel(axeAct, 'X'); % Change x label

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by