-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplotIndices.m
More file actions
32 lines (22 loc) · 763 Bytes
/
plotIndices.m
File metadata and controls
32 lines (22 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
function plotIndices(images)
% This function plot the differents indices for allimagent
p = 1; % initialization for subplot
% Loop for every date
for t = 1:length(images)
figure(t)
hold on
% subplot(1,3,p)
% mapshow(images(t).RGB, REFMAT(t).B02, 'DisplayType', 'image')
% title([' RGB image at the period of ', images(t).date])
% p = p + 1;
subplot(1,2,p)
imshow(images(t).NDVI)
title([' NDVI at the period of ', images(t).date])
p = p + 1;
subplot(1,2,p)
imshow(images(t).NDMI)
title([' NDMI at the period of ', images(t).date])
p = 1;
hold off
end
end