Effacer les filtres
Effacer les filtres

Size of horizontal axis

1 vue (au cours des 30 derniers jours)
ABCDEFG HIJKLMN
ABCDEFG HIJKLMN le 18 Fév 2022
Commenté : ABCDEFG HIJKLMN le 18 Fév 2022
I have a plot where the y values are of order 10e^4 and the x values are of order 10^1.
When I plot these, the plot looks like this:
How can I increase the horizontal dimension?
Thanks in advance!

Réponses (1)

Image Analyst
Image Analyst le 18 Fév 2022
Look at the axis options. You must be using "axis equal" and since the y values are 10 thousand times bigger than the x values, you get a tall and skinny graph. Check out and experiment with the other axis options.
  3 commentaires
Image Analyst
Image Analyst le 18 Fév 2022
Did you try
axis auto
? Or maybe
axis square
ABCDEFG HIJKLMN
ABCDEFG HIJKLMN le 18 Fév 2022
I did not write axis in the code, I have only picked the xlim from 0 to 50.
How would you suggest I do this?

Connectez-vous pour commenter.

Catégories

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

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by