Size of horizontal axis

2 visualizaciones (últimos 30 días)
ABCDEFG HIJKLMN
ABCDEFG HIJKLMN el 18 de Feb. de 2022
Comentada: ABCDEFG HIJKLMN el 18 de Feb. de 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!

Respuestas (1)

Image Analyst
Image Analyst el 18 de Feb. de 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 comentarios
Image Analyst
Image Analyst el 18 de Feb. de 2022
Did you try
axis auto
? Or maybe
axis square
ABCDEFG HIJKLMN
ABCDEFG HIJKLMN el 18 de Feb. de 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?

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by