from
Reinsurance Demo
by Kas Sharma Demo: GUI that prices a reinsurance contract based on "Excess of Loss" terms.
xolplot.m
t = 1:10;
x = [100000, 300000, 250000, 600000, 1250000, 500000, 200000, 300000, 2500000, 150000];
bar(t,x);
hold on
a = 1:0.01:11;
y = 1000000;
plot(a,y,'r-')
y = 1500000;
plot(a,y,'r-')