How to allign Y axis of a image with out reversing image?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kalasagarreddi Kottakota
le 21 Fév 2022
Modifié(e) : Matt J
le 21 Fév 2022
The axis of the image is not alligned with the coordinate system. Could someone help in this regard? If I use set(gca,'YDir','normal') , the image is flipping upside down.
clear all;clc;close all;
figure()
rgb = imread('mango.png');
s = size(rgb);
h1 = image([-0.5 0.5],[-0.7 0.7],rgb);
h1.AlphaData = 1;
% set(gca,'YDir','normal')

0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
