clear all;
close all;

load "set_times.mat"

l=length(set_times);
xx=linspace(0.1, 0.8, 21);
gammas=[0.1 0.5 1 1.5 1.9];

st=reshape(set_times(5, :, :), l, l);
pcolor(st);
%colorbar("South");
hc=colorbar();
set(hc, "color", "none");

xticks([1 5 10 15 20]);
yticks([1 5 10 15 20]);
xticklabels(xx(xticks));
yticklabels(xx(yticks));

xlabel("$x_0$");
ylabel("$x_1$");

%h=title();
%pos=get(h, "position");

text(11, 21.6, "$\\gamma=1.9$", "horizontalalignment", "center");

set(gcf, "papersize", [4 4], "paperposition", [0 0 4 4]);
print("settling-times.pdf", "-dpdflatexstandalone");
