source ("config/plot-setup.m");
before = [12 15 18 16]; after = [14 14 19 16];
figure (1); hold on;
for k = 1:4
  plot ([before(k) after(k)], [k k], "-", "color", [.65 .70 .74]);
endfor
h1 = plot (before, 1:4, "o", "color", [0 .35 .60]);
h2 = plot (after, 1:4, "s", "color", [.80 .30 .10]);
set (gca, "ytick", 1:4, "ydir", "reverse");
xlabel ("Reading (C)"); ylabel ("Site identifier");
title ("A paired comparison retains unchanged sites"); grid on;
xlim ([10 21]); ylim ([0.5 4.5]);
key = legend ([h1 h2], {"Before", "After"}, "location", "southoutside");
set (key, "fontsize", 11, "box", "off");
printf ("Signed changes: "); fprintf ("%+.1f ", after-before); printf ("\n");
print (gcf, "figures/OCT-15-005.pdf", "-dpdfcairo");
close all;
