Effacer les filtres
Effacer les filtres

problems with number of xticklabels

6 vues (au cours des 30 derniers jours)
Thishan Dharshana Karandana Gamalathge
Commenté : madhan ravi le 17 Nov 2018
I used the "xticklabels" function, but it limits to about 10 data points. I have 20 points which i need xtick lables on to X-axis. I am using MATLABR2018b-Student use

Réponses (1)

madhan ravi
madhan ravi le 17 Nov 2018
xticks(1:20) %you have to define xticks before xticklabels
xticklabels({'1','2','3','4','5'..............'20'})
  4 commentaires
Thishan Dharshana Karandana Gamalathge
Sorry, I don't know what you have meant. If you could explain with an example, that would be helpful.
madhan ravi
madhan ravi le 17 Nov 2018
I mean upload your code and the desired graph that you want to attain

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by