How to label X axis in the form of characters?

3 visualizaciones (últimos 30 días)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran el 28 de Mzo. de 2012
Comentada: Jan el 6 de Sept. de 2021
Hi,
How to label X axis in the form of characters.
Regards,
siva
  2 comentarios
Abdul Hannan
Abdul Hannan el 6 de Sept. de 2021
how are you how cant find simulink obsticle Enviroment
Abdul Hannan
Abdul Hannan el 6 de Sept. de 2021
i have download matlab

Iniciar sesión para comentar.

Respuesta aceptada

Richard
Richard el 28 de Mzo. de 2012
set(gca,'XTickLabel',{'data point 1','data point 2'});
where data point 1 and data point 2 will become the name of that particular xlabel. You need to have the number of strings to be equal to the number of points.
  2 comentarios
Abdul Hannan
Abdul Hannan el 6 de Sept. de 2021
sorry i didnot get ur answer rechird
Jan
Jan el 6 de Sept. de 2021
[Moved from section for Asnwers]
Hi
Thanks for your help.
Regards, Siva siva@sdatech.in

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing 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