Why does the values in the y coordinate system change when I maximize the window?

2 visualizaciones (últimos 30 días)
When I select the maximize option for the figure I created in Matlab, the values in the y coordinate system change as follows. How can I make it stay the same? Thanks in advance

Respuestas (1)

Rik
Rik el 3 de Jun. de 2023
It looks like only the tick values are changing. Did you try setting the YTick property explicitly?
  2 comentarios
Eng.
Eng. el 3 de Jun. de 2023
Movida: Rik el 3 de Jun. de 2023
I found the issue. Thank you. I made a small mistake while writing the code."
I did it as follows;
yticks([-0.6:0.2:0.6])
Rik
Rik el 3 de Jun. de 2023
This will indeed set the YTick property. Note that you don't need the square brackets.

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by