How to change scaling for different ranges of X-Axis inn figures?

2 vues (au cours des 30 derniers jours)
Abhinav Chinnusamy
Abhinav Chinnusamy le 3 Déc 2022
Commenté : Voss le 3 Déc 2022
Required plot
Above figure has different scaling for 0-1 and 1-10 in X-Axis.
I want to scale the below figure to the above format.

Réponse acceptée

Voss
Voss le 3 Déc 2022
Use
set(gca(),'XScale','log')
  2 commentaires
Abhinav Chinnusamy
Abhinav Chinnusamy le 3 Déc 2022
Got as expected.
Thanks.
Voss
Voss le 3 Déc 2022
You're welcome!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by