Effacer les filtres
Effacer les filtres

How to control x-axis range

16 vues (au cours des 30 derniers jours)
CHOI HYUNDUK
CHOI HYUNDUK le 27 Jan 2019
Commenté : Somesh Thakur le 26 Juil 2020
For example, In a plot 'x-axis' has 0 50 100.
But I want that it shows 0 20 40 60 80 100.
How can I control this range in the figure?

Réponse acceptée

madhan ravi
madhan ravi le 27 Jan 2019
xlim([0 100])
xticks(0:20:100)
  1 commentaire
Somesh Thakur
Somesh Thakur le 26 Juil 2020
Thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Objects dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by