Effacer les filtres
Effacer les filtres

how to set boundaries imshow

2 vues (au cours des 30 derniers jours)
Pavel Kuzmitsky
Pavel Kuzmitsky le 6 Nov 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?

Réponse acceptée

Image Analyst
Image Analyst le 7 Nov 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];

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by