Howto insert image in guide in red area ?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167532/image.jpeg)
0 commentaires
Réponses (1)
Walter Roberson
le 26 Sep 2017
Create an axes that is positioned there. Set the axes Visible property off. imshow() or image() an image into place.
2 commentaires
Walter Roberson
le 26 Sep 2017
fig = gcf;
ax = axes('Parent', fig, 'Units', 'normal', 'Position', [.05 0.75 .25 0.40]);
TheImage = imread('cameraman.tif');
image(TheImage, 'Parent', ax);
colormap(ax, gray(256));
axis(ax, 'image');
Voir également
Catégories
En savoir plus sur Red dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!