Borrar filtros
Borrar filtros

How can I change my plot size?

8 visualizaciones (últimos 30 días)
flashpode
flashpode el 21 de Mzo. de 2022
Comentada: Jan el 22 de Mzo. de 2022
Hi, I've got a problem, I want to plot some data but the size of my plot it is a square, what I would like is to have a rectangle with more width than highth as I am plotting a month. How can I do it to change the plot size. All the stuff I've seen was about changing figure size not the plot. If you could help me would be nice.

Respuestas (1)

Jan
Jan el 21 de Mzo. de 2022
You can change the 'Position' property of the axes. If you avoid to set the axes limits to 'square' explicitly, this should work directly. Do you have any axis() commands in your code?
  2 comentarios
flashpode
flashpode el 21 de Mzo. de 2022
No I just have the name of the axes written.
Jan
Jan el 22 de Mzo. de 2022
If you post the code, which reproduces the problem, the reader could show you, which commands causes the square appearence. Then you could omit this command.

Iniciar sesión para comentar.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by