How to label X axis in the form of characters?

2 visualizzazioni (ultimi 30 giorni)
Hi,
How to label X axis in the form of characters.
Regards,
siva
  2 Commenti
Abdul Hannan
Abdul Hannan il 6 Set 2021
how are you how cant find simulink obsticle Enviroment

Accedi per commentare.

Risposta accettata

Richard
Richard il 28 Mar 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 Commenti
Abdul Hannan
Abdul Hannan il 6 Set 2021
sorry i didnot get ur answer rechird
Jan
Jan il 6 Set 2021
[Moved from section for Asnwers]
Hi
Thanks for your help.
Regards, Siva siva@sdatech.in

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by