clear all; close all; clc;
opts = spreadsheetImportOptions("NumVariables", 7);
opts.Sheet = "Sheet1";
opts.DataRange = "A3:G10";
opts.VariableNames = ["Latitude", "Longitude", "Location", "R", "MABE", "RMSE", "Correlation"];
opts.SelectedVariableNames = ["Latitude", "Longitude", "Location", "R", "MABE", "RMSE", "Correlation"];
opts.VariableTypes = ["double", "double", "string", "double", "double", "double", "categorical"];
opts = setvaropts(opts, 3, "WhitespaceRule", "preserve");
opts = setvaropts(opts, [3, 7], "EmptyFieldRule", "auto");
stationwisecorr = readtable("C:\Users\skoley\Downloads\station_wisecorr.xlsx", opts, "UseExcel", false);
stationwisecorr.Correlation = categorical(stationwisecorr.Correlation);
han = figure;
gb = geobubble(han,stationwisecorr, 'Latitude', 'Longitude',...
'SizeVariable', 'MABE', 'ColorVariable', 'Correlation',...
'Title', 'Comparison between the two datasets', 'Basemap', 'none');
geolimits(gb, [6 40], [65 98]);
S = shaperead('INDIA.shp');
ax = axes(han, 'Units', 'Normalize', 'Position', get(gb, 'Position'));
mapshow(ax, S);
alpha(ax, 0.2);
ax.Visible = 'off';
axis(ax, [65 98 6 42.5]);
0 Comments
Sign in to comment.