How to set x axis in a plot?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Fabian Moreno
il 28 Nov 2021
Commentato: Fabian Moreno
il 28 Nov 2021
Hello, I would like to know if is possible to set the X- axis like the plot that I loaded. I make the x-axis in pain just as an example of what I would like to do.
0 Commenti
Risposta accettata
Più risposte (1)
Image Analyst
il 28 Nov 2021
rgbImage = imread('peppers.png');
imshow(flipud(rgbImage), 'XData', 1:8, 'YData', 14:22);
axis('on', 'xy')
0 Commenti
Vedere anche
Categorie
Scopri di più su Axis Labels in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!