adding requests to conda install docs
[JPSSData.git] / plot_granule.m
blob751f7ca6cfe2a15b66a1035609f8bf11ab2d0d1a
1 function plot_granule(granule)
2 % Call:
3 % plot_granule(granule)
5 % Description:
6 % Plot a granules in a matlab strucure. The matlab structure has to
7 % contain a first layer of satellite products, a second layer of dates and
8 % finally the lon, lat and fire information in the third layer.
10 % Developed in Matlab 9.2.0.556344 (R2017a) on MACINTOSH. 
11 % Angel Farguell (angel.farguell@gmail.com), 2018-08-24
12 %-------------------------------------------------------------------------
15 lon=granule.lon;
16 lat=granule.lat;
17 fire=granule.fire;
18 tit=strcat({'Plot of the granule '},granule.name);
19 figure, h=pcolor(lon,lat,fire); title(tit,'Interpreter','none'); set(h,'EdgeColor','None'), cmfire, drawnow
21 end