toujours bloqué sur mon problème.
j'ai essayé de faire ça :
set(handles.image_displayed,'Position', [22.2 7.15 103.5 40.4], 'DataAspectRatioMode', 'auto', 'PlotBoxAspectRatioMode', 'auto', 'CameraViewAngleMode', 'auto');
à cause du commentaire dans l'aide de matlab suivant :
"When you enable axes stretch-to-fill behavior (when DataAspectRatioMode, PlotBoxAspectRatioMode, and CameraViewAngleMode are all auto), MATLAB stretches the axes to fill the Position rectangle. When you disable stretch-to-fill, MATLAB makes the axes as large as possible, while obeying all other properties, without extending outside the Position rectangle."
mais aucun succès ... la place que prend l'image sur ma Figure change toujours en fonction de la taille de la matrice affichée...
Partager