how to set boundaries imshow

2 visualizaciones (últimos 30 días)
Pavel Kuzmitsky
Pavel Kuzmitsky el 6 de Nov. de 2022
Respondida: Image Analyst el 7 de Nov. de 2022
how to set boundaries imshow, how to set a position and outerposition?
for example, I want to stretch the image over the entire space, how do I do this?

Respuesta aceptada

Image Analyst
Image Analyst el 7 de Nov. de 2022
You can set the .Position property of the axes to enlarge it so that it fills the entire figure window, or close to it.
ax = gca;
g = gcf;
ax.Units = 'normalized';
g.Units = 'normalized';
ax.Position = [0, 0, 1, 1];

Más respuestas (0)

Categorías

Más información sobre Display Image en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by