Azzera filtri
Azzera filtri

hw to include my image in this file?

1 visualizzazione (ultimi 30 giorni)
riki singh
riki singh il 24 Giu 2022
Risposto: M. A. Hopcroft il 24 Giu 2022
i have got a code from file exchange ..it is helpful ..with slight modification according to my code..
I have to plot latitudes and longitudes on my image..given..
I have to plot latitudes and longitudes on..(cameraman.tif) image... format of my image is tiff only.
I am unable to do so.i am not not finding any option to insert my picture... so that lat and longitudes gets plotted on it
2021 version of matlab

Risposte (1)

M. A. Hopcroft
M. A. Hopcroft il 24 Giu 2022
You can use imread() and image() to put a graphic file into a figure axis:
mypic = imread('cameraman.tif');
figure; ha = gca;
image(ha,mypic);

Community Treasure Hunt

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

Start Hunting!

Translated by