update
authorNils Forssén <forssennils@gmail.com>
Thu, 22 Sep 2022 14:57:25 +0000 (16:57 +0200)
committerNils Forssén <forssennils@gmail.com>
Thu, 22 Sep 2022 14:57:25 +0000 (16:57 +0200)
Ecology/TSRT04_ecology_script.m [new file with mode: 0644]
Ecology/ecology.mat [new file with mode: 0644]
Ecology/pngs/gunilla.fig [new file with mode: 0644]
Ecology/pngs/gunilla.png [new file with mode: 0644]
Ecology/pngs/gunilla.svg [new file with mode: 0644]
Yatzee/dice_sim.m [new file with mode: 0644]
Yatzee/hist_plot.m [new file with mode: 0644]
Yatzee/main.asv [new file with mode: 0644]
Yatzee/main.m [new file with mode: 0644]
Yatzee/sum_vec.m [new file with mode: 0644]

diff --git a/Ecology/TSRT04_ecology_script.m b/Ecology/TSRT04_ecology_script.m
new file mode 100644 (file)
index 0000000..82c7b67
--- /dev/null
@@ -0,0 +1,69 @@
+%% Deluppgift 3
+clear;
+close all;
+load ecology.mat;
+
+yyaxis left;
+plot(years, animals(1:end, 1), "b", LineStyle="-", LineWidth=2);
+ylabel("# of Wolves");
+
+yyaxis right;
+plot(years, animals(1:end, 2), "r", LineStyle="--", LineWidth=2);
+ylabel("# of Moose");
+
+title("Animals");
+legend("Wolves", "Moose");
+xlabel("Year");
+xlim([1959, 2011]);
+
+%% Deluppgift 4, 5, 6, 7, 8
+clear;
+close all;
+load ecology.mat;
+
+% First subplot
+subplot(2, 1, 1);
+plot(years, animals(1:end, 1), "b", LineStyle="-", LineWidth=2);
+
+% MAXMIN
+hold on;
+[max_wolves, y_index1] = max(animals(1:end, 1));
+[min_wolves, y_index2] = min(animals(1:end, 1));
+plot(years(y_index1), max_wolves, "ko", 'MarkerSize', 10, LineWidth=2);
+plot(years(y_index2), min_wolves, "ko", 'MarkerSize', 10, LineWidth=2);
+
+title("Wolves");
+xlabel("years");
+ylabel("# of Wolves");
+xlim([1959, 2011]);
+
+hold off;
+
+% Second subplot
+subplot(2, 1, 2);
+plot(years, animals(1:end, 2), "r", LineStyle="--", LineWidth=2);
+
+% MAXMIN
+hold on;
+[max_meese, y_index3] = max(animals(1:end, 2));
+[min_meese, y_index4] = min(animals(1:end, 2));
+plot(years(y_index3), max_meese, 'k*', 'MarkerSize', 10, LineWidth=2);
+plot(years(y_index4), min_meese, 'k*', 'MarkerSize', 10, LineWidth=2);
+
+title("Moose");
+xlabel("years");
+ylabel("# of Moose");
+xlim([1959, 2011]);
+
+% save fig
+saveas(gcf, "pngs/gunilla.svg");
+saveas(gcf, "pngs/gunilla.fig");
+
+%% Deluppgift 5
+clear;
+close all;
+clc;
+load ecology.mat;
+
+
+
diff --git a/Ecology/ecology.mat b/Ecology/ecology.mat
new file mode 100644 (file)
index 0000000..cee6205
Binary files /dev/null and b/Ecology/ecology.mat differ
diff --git a/Ecology/pngs/gunilla.fig b/Ecology/pngs/gunilla.fig
new file mode 100644 (file)
index 0000000..ffe2494
Binary files /dev/null and b/Ecology/pngs/gunilla.fig differ
diff --git a/Ecology/pngs/gunilla.png b/Ecology/pngs/gunilla.png
new file mode 100644 (file)
index 0000000..9b61ea3
Binary files /dev/null and b/Ecology/pngs/gunilla.png differ
diff --git a/Ecology/pngs/gunilla.svg b/Ecology/pngs/gunilla.svg
new file mode 100644 (file)
index 0000000..7f26a2d
--- /dev/null
@@ -0,0 +1,306 @@
+<?xml version="1.0"?>
+<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
+          'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
+<svg xmlns:xlink="http://www.w3.org/1999/xlink" style="fill-opacity:1; color-rendering:auto; color-interpolation:auto; text-rendering:auto; stroke:black; stroke-linecap:square; stroke-miterlimit:10; shape-rendering:auto; stroke-opacity:1; fill:black; stroke-dasharray:none; font-weight:normal; stroke-width:1; font-family:'Dialog'; font-style:normal; stroke-linejoin:miter; font-size:12px; stroke-dashoffset:0; image-rendering:auto;" width="700" height="525" xmlns="http://www.w3.org/2000/svg"
+><!--Generated by the Batik Graphics2D SVG Generator--><defs id="genericDefs"
+  /><g
+  ><defs id="defs1"
+    ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath1"
+      ><path d="M0 0 L700 0 L700 525 L0 525 L0 0 Z"
+      /></clipPath
+      ><font horiz-adv-x="75.0" id="font1"
+      ><font-face ascent="100.53711" descent="21.972656" units-per-em="100" style="font-style:normal; font-family:Dialog; font-weight:normal;"
+        /><missing-glyph horiz-adv-x="75.0" d="M12.5 0 L12.5 62.5 L62.5 62.5 L62.5 0 L12.5 0 ZM14.0625 1.5625 L60.9375 1.5625 L60.9375 60.9375 L14.0625 60.9375 L14.0625 1.5625 Z"
+        /><glyph unicode="0" horiz-adv-x="55.615234" d="M4.1562 35.2969 Q4.1562 48 6.7656 55.7422 Q9.375 63.4844 14.5234 67.6797 Q19.6719 71.875 27.4844 71.875 Q33.25 71.875 37.5938 69.5547 Q41.9375 67.2344 44.7734 62.8672 Q47.6094 58.5 49.2188 52.2266 Q50.8281 45.9531 50.8281 35.2969 Q50.8281 22.7031 48.2422 14.9688 Q45.6562 7.2344 40.5078 3.0078 Q35.3594 -1.2188 27.4844 -1.2188 Q17.1406 -1.2188 11.2344 6.2031 Q4.1562 15.1406 4.1562 35.2969 ZM13.1875 35.2969 Q13.1875 17.6719 17.3125 11.8359 Q21.4375 6 27.4844 6 Q33.5469 6 37.6719 11.8594 Q41.7969 17.7188 41.7969 35.2969 Q41.7969 52.9844 37.6719 58.7891 Q33.5469 64.5938 27.3906 64.5938 Q21.3438 64.5938 17.7188 59.4688 Q13.1875 52.9375 13.1875 35.2969 Z"
+        /><glyph unicode="6" horiz-adv-x="55.615234" d="M49.75 54.0469 L41.0156 53.375 Q39.8438 58.5469 37.7031 60.8906 Q34.125 64.6562 28.9062 64.6562 Q24.7031 64.6562 21.5312 62.3125 Q17.3906 59.2812 14.9922 53.4688 Q12.5938 47.6562 12.5 36.9219 Q15.6719 41.75 20.2656 44.0938 Q24.8594 46.4375 29.8906 46.4375 Q38.6719 46.4375 44.8516 39.9688 Q51.0312 33.5 51.0312 23.25 Q51.0312 16.5 48.125 10.7188 Q45.2188 4.9375 40.1406 1.8594 Q35.0625 -1.2188 28.6094 -1.2188 Q17.625 -1.2188 10.6953 6.8594 Q3.7656 14.9375 3.7656 33.5 Q3.7656 54.25 11.4219 63.6719 Q18.1094 71.875 29.4375 71.875 Q37.8906 71.875 43.2891 67.1406 Q48.6875 62.4062 49.75 54.0469 ZM13.875 23.1875 Q13.875 18.6562 15.7969 14.5078 Q17.7188 10.3594 21.1875 8.1797 Q24.6562 6 28.4688 6 Q34.0312 6 38.0391 10.4922 Q42.0469 14.9844 42.0469 22.7031 Q42.0469 30.125 38.0859 34.3984 Q34.125 38.6719 28.125 38.6719 Q22.1719 38.6719 18.0234 34.3984 Q13.875 30.125 13.875 23.1875 Z"
+        /><glyph unicode="9" horiz-adv-x="55.615234" d="M5.4688 16.5469 L13.9219 17.3281 Q14.9844 11.375 18.0156 8.6875 Q21.0469 6 25.7812 6 Q29.8281 6 32.8828 7.8594 Q35.9375 9.7188 37.8906 12.8203 Q39.8438 15.9219 41.1641 21.1953 Q42.4844 26.4688 42.4844 31.9375 Q42.4844 32.5156 42.4375 33.6875 Q39.7969 29.5 35.2344 26.8828 Q30.6719 24.2656 25.3438 24.2656 Q16.4531 24.2656 10.3047 30.7109 Q4.1562 37.1562 4.1562 47.7031 Q4.1562 58.5938 10.5781 65.2344 Q17 71.875 26.6562 71.875 Q33.6406 71.875 39.4297 68.1172 Q45.2188 64.3594 48.2188 57.3984 Q51.2188 50.4375 51.2188 37.25 Q51.2188 23.5312 48.2422 15.4062 Q45.2656 7.2812 39.3828 3.0312 Q33.5 -1.2188 25.5938 -1.2188 Q17.1875 -1.2188 11.8672 3.4453 Q6.5469 8.1094 5.4688 16.5469 ZM41.4531 48.1406 Q41.4531 55.7188 37.4297 60.1562 Q33.4062 64.5938 27.7344 64.5938 Q21.875 64.5938 17.5312 59.8125 Q13.1875 55.0312 13.1875 47.4062 Q13.1875 40.5781 17.3125 36.3047 Q21.4375 32.0312 27.4844 32.0312 Q33.5938 32.0312 37.5234 36.3047 Q41.4531 40.5781 41.4531 48.1406 Z"
+        /><glyph unicode="1" horiz-adv-x="55.615234" d="M37.25 0 L28.4688 0 L28.4688 56 Q25.2969 52.9844 20.1406 49.9531 Q14.9844 46.9219 10.8906 45.4062 L10.8906 53.9062 Q18.2656 57.375 23.7812 62.3047 Q29.2969 67.2344 31.5938 71.875 L37.25 71.875 L37.25 0 Z"
+        /><glyph unicode="5" horiz-adv-x="55.615234" d="M4.1562 18.75 L13.375 19.5312 Q14.4062 12.7969 18.1406 9.3984 Q21.875 6 27.1562 6 Q33.5 6 37.8906 10.7891 Q42.2812 15.5781 42.2812 23.4844 Q42.2812 31 38.0625 35.3516 Q33.8438 39.7031 27 39.7031 Q22.75 39.7031 19.3359 37.7734 Q15.9219 35.8438 13.9688 32.7656 L5.7188 33.8438 L12.6406 70.6094 L48.25 70.6094 L48.25 62.2031 L19.6719 62.2031 L15.8281 42.9688 Q22.2656 47.4688 29.3438 47.4688 Q38.7188 47.4688 45.1641 40.9688 Q51.6094 34.4688 51.6094 24.2656 Q51.6094 14.5469 45.9531 7.4688 Q39.0625 -1.2188 27.1562 -1.2188 Q17.3906 -1.2188 11.2109 4.25 Q5.0312 9.7188 4.1562 18.75 Z"
+        /><glyph unicode="7" horiz-adv-x="55.615234" d="M4.7344 62.2031 L4.7344 70.6562 L51.0781 70.6562 L51.0781 63.8125 Q44.2344 56.5469 37.5234 44.4844 Q30.8125 32.4219 27.1562 19.6719 Q24.5156 10.6875 23.7812 0 L14.75 0 Q14.8906 8.4531 18.0625 20.4141 Q21.2344 32.375 27.1719 43.4844 Q33.1094 54.5938 39.7969 62.2031 L4.7344 62.2031 Z"
+        /><glyph unicode="8" horiz-adv-x="55.615234" d="M17.6719 38.8125 Q12.2031 40.8281 9.5703 44.5391 Q6.9375 48.25 6.9375 53.4219 Q6.9375 61.2344 12.5547 66.5547 Q18.1719 71.875 27.4844 71.875 Q36.8594 71.875 42.5781 66.4297 Q48.2969 60.9844 48.2969 53.1719 Q48.2969 48.1875 45.6797 44.5078 Q43.0625 40.8281 37.75 38.8125 Q44.3438 36.6719 47.7812 31.8828 Q51.2188 27.0938 51.2188 20.4531 Q51.2188 11.2812 44.7266 5.0312 Q38.2344 -1.2188 27.6406 -1.2188 Q17.0469 -1.2188 10.5469 5.0547 Q4.0469 11.3281 4.0469 20.7031 Q4.0469 27.6875 7.5938 32.3984 Q11.1406 37.1094 17.6719 38.8125 ZM15.9219 53.7188 Q15.9219 48.6406 19.1953 45.4141 Q22.4688 42.1875 27.6875 42.1875 Q32.7656 42.1875 36.0156 45.3828 Q39.2656 48.5781 39.2656 53.2188 Q39.2656 58.0625 35.9141 61.3594 Q32.5625 64.6562 27.5938 64.6562 Q22.5625 64.6562 19.2422 61.4297 Q15.9219 58.2031 15.9219 53.7188 ZM13.0938 20.6562 Q13.0938 16.8906 14.875 13.375 Q16.6562 9.8594 20.1719 7.9297 Q23.6875 6 27.7344 6 Q34.0312 6 38.1328 10.0547 Q42.2344 14.1094 42.2344 20.3594 Q42.2344 26.7031 38.0156 30.8594 Q33.7969 35.0156 27.4375 35.0156 Q21.2344 35.0156 17.1641 30.9141 Q13.0938 26.8125 13.0938 20.6562 Z"
+        /><glyph unicode="2" horiz-adv-x="55.615234" d="M50.3438 8.4531 L50.3438 0 L3.0312 0 Q2.9375 3.1719 4.0469 6.1094 Q5.8594 10.9375 9.8359 15.625 Q13.8125 20.3125 21.3438 26.4688 Q33.0156 36.0312 37.1172 41.625 Q41.2188 47.2188 41.2188 52.2031 Q41.2188 57.4219 37.4766 61.0078 Q33.7344 64.5938 27.7344 64.5938 Q21.3906 64.5938 17.5781 60.7891 Q13.7656 56.9844 13.7188 50.25 L4.6875 51.1719 Q5.6094 61.2812 11.6641 66.5781 Q17.7188 71.875 27.9375 71.875 Q38.2344 71.875 44.2422 66.1641 Q50.25 60.4531 50.25 52 Q50.25 47.7031 48.4922 43.5547 Q46.7344 39.4062 42.6562 34.8125 Q38.5781 30.2188 29.1094 22.2188 Q21.1875 15.5781 18.9453 13.2109 Q16.7031 10.8438 15.2344 8.4531 L50.3438 8.4531 Z"
+        /><glyph unicode="s" horiz-adv-x="50.0" d="M3.0781 15.4844 L11.7656 16.8438 Q12.5 11.625 15.8438 8.8438 Q19.1875 6.0625 25.2031 6.0625 Q31.25 6.0625 34.1797 8.5234 Q37.1094 10.9844 37.1094 14.3125 Q37.1094 17.2812 34.5156 19 Q32.7188 20.1719 25.5312 21.9688 Q15.875 24.4219 12.1406 26.2031 Q8.4062 27.9844 6.4766 31.1328 Q4.5469 34.2812 4.5469 38.0938 Q4.5469 41.5469 6.1328 44.5078 Q7.7188 47.4688 10.4531 49.4219 Q12.5 50.9219 16.0391 51.9766 Q19.5781 53.0312 23.6406 53.0312 Q29.7344 53.0312 34.3516 51.2734 Q38.9688 49.5156 41.1641 46.5078 Q43.3594 43.5 44.1875 38.4844 L35.5938 37.3125 Q35.0156 41.3125 32.2031 43.5547 Q29.3906 45.7969 24.2656 45.7969 Q18.2188 45.7969 15.625 43.7969 Q13.0312 41.7969 13.0312 39.1094 Q13.0312 37.4062 14.1094 36.0312 Q15.1875 34.625 17.4844 33.6875 Q18.7969 33.2031 25.25 31.4531 Q34.5781 28.9531 38.2578 27.3672 Q41.9375 25.7812 44.0391 22.7578 Q46.1406 19.7344 46.1406 15.2344 Q46.1406 10.8438 43.5781 6.9609 Q41.0156 3.0781 36.1797 0.9531 Q31.3438 -1.1719 25.25 -1.1719 Q15.1406 -1.1719 9.8438 3.0312 Q4.5469 7.2344 3.0781 15.4844 Z"
+        /><glyph unicode="r" horiz-adv-x="33.30078" d="M6.5 0 L6.5 51.8594 L14.4062 51.8594 L14.4062 44 Q17.4375 49.5156 20 51.2734 Q22.5625 53.0312 25.6406 53.0312 Q30.0781 53.0312 34.6719 50.2031 L31.6406 42.0469 Q28.4219 43.9531 25.2031 43.9531 Q22.3125 43.9531 20.0156 42.2188 Q17.7188 40.4844 16.75 37.4062 Q15.2812 32.7188 15.2812 27.1562 L15.2812 0 L6.5 0 Z"
+        /><glyph unicode="a" horiz-adv-x="55.615234" d="M40.4375 6.3906 Q35.5469 2.25 31.0312 0.5391 Q26.5156 -1.1719 21.3438 -1.1719 Q12.7969 -1.1719 8.2031 3 Q3.6094 7.1719 3.6094 13.6719 Q3.6094 17.4844 5.3438 20.6328 Q7.0781 23.7812 9.8906 25.6875 Q12.7031 27.5938 16.2188 28.5625 Q18.7969 29.25 24.0312 29.8906 Q34.6719 31.1562 39.7031 32.9062 Q39.75 34.7188 39.75 35.2031 Q39.75 40.5781 37.25 42.7812 Q33.8906 45.75 27.25 45.75 Q21.0469 45.75 18.0938 43.5781 Q15.1406 41.4062 13.7188 35.8906 L5.125 37.0625 Q6.2969 42.5781 8.9844 45.9688 Q11.6719 49.3594 16.75 51.1953 Q21.8281 53.0312 28.5156 53.0312 Q35.1562 53.0312 39.3047 51.4688 Q43.4531 49.9062 45.4062 47.5391 Q47.3594 45.1719 48.1406 41.5469 Q48.5781 39.3125 48.5781 33.4531 L48.5781 21.7344 Q48.5781 9.4688 49.1406 6.2266 Q49.7031 2.9844 51.375 0 L42.1875 0 Q40.8281 2.7344 40.4375 6.3906 ZM39.7031 26.0312 Q34.9062 24.0781 25.3438 22.7031 Q19.9219 21.9219 17.6797 20.9453 Q15.4375 19.9688 14.2109 18.0938 Q12.9844 16.2188 12.9844 13.9219 Q12.9844 10.4062 15.6484 8.0625 Q18.3125 5.7188 23.4375 5.7188 Q28.5156 5.7188 32.4688 7.9375 Q36.4219 10.1562 38.2812 14.0156 Q39.7031 17 39.7031 22.7969 L39.7031 26.0312 Z"
+        /><glyph unicode="e" horiz-adv-x="55.615234" d="M42.0938 16.7031 L51.1719 15.5781 Q49.0312 7.625 43.2188 3.2266 Q37.4062 -1.1719 28.375 -1.1719 Q17 -1.1719 10.3281 5.8359 Q3.6562 12.8438 3.6562 25.4844 Q3.6562 38.5781 10.3984 45.8047 Q17.1406 53.0312 27.875 53.0312 Q38.2812 53.0312 44.875 45.9531 Q51.4688 38.875 51.4688 26.0312 Q51.4688 25.25 51.4219 23.6875 L12.75 23.6875 Q13.2344 15.1406 17.5781 10.6016 Q21.9219 6.0625 28.4219 6.0625 Q33.25 6.0625 36.6719 8.6016 Q40.0938 11.1406 42.0938 16.7031 ZM13.2344 30.9062 L42.1875 30.9062 Q41.6094 37.4531 38.875 40.7188 Q34.6719 45.7969 27.9844 45.7969 Q21.9219 45.7969 17.7969 41.75 Q13.6719 37.7031 13.2344 30.9062 Z"
+        /><glyph unicode="y" horiz-adv-x="50.0" d="M6.2031 -19.9688 L5.2188 -11.7188 Q8.1094 -12.5 10.25 -12.5 Q13.1875 -12.5 14.9453 -11.5234 Q16.7031 -10.5469 17.8281 -8.7969 Q18.6562 -7.4688 20.5156 -2.25 Q20.75 -1.5156 21.2969 -0.0938 L1.6094 51.8594 L11.0781 51.8594 L21.875 21.8281 Q23.9688 16.1094 25.6406 9.8125 Q27.1562 15.875 29.25 21.625 L40.3281 51.8594 L49.125 51.8594 L29.3906 -0.875 Q26.2188 -9.4219 24.4688 -12.6406 Q22.125 -17 19.0938 -19.0234 Q16.0625 -21.0469 11.8594 -21.0469 Q9.3281 -21.0469 6.2031 -19.9688 Z"
+        /><glyph unicode="3" horiz-adv-x="55.615234" d="M4.2031 18.8906 L12.9844 20.0625 Q14.5 12.5938 18.1406 9.2969 Q21.7812 6 27 6 Q33.2031 6 37.4766 10.2969 Q41.75 14.5938 41.75 20.9531 Q41.75 27 37.7969 30.9297 Q33.8438 34.8594 27.7344 34.8594 Q25.25 34.8594 21.5312 33.8906 L22.5156 41.6094 Q23.3906 41.5 23.9219 41.5 Q29.5469 41.5 34.0391 44.4297 Q38.5312 47.3594 38.5312 53.4688 Q38.5312 58.2969 35.2578 61.4766 Q31.9844 64.6562 26.8125 64.6562 Q21.6875 64.6562 18.2656 61.4297 Q14.8438 58.2031 13.875 51.7656 L5.0781 53.3281 Q6.6875 62.1562 12.3984 67.0156 Q18.1094 71.875 26.6094 71.875 Q32.4688 71.875 37.3984 69.3594 Q42.3281 66.8438 44.9453 62.5 Q47.5625 58.1562 47.5625 53.2656 Q47.5625 48.6406 45.0703 44.8281 Q42.5781 41.0156 37.7031 38.7656 Q44.0469 37.3125 47.5625 32.6953 Q51.0781 28.0781 51.0781 21.1406 Q51.0781 11.7656 44.2422 5.25 Q37.4062 -1.2656 26.9531 -1.2656 Q17.5312 -1.2656 11.3047 4.3516 Q5.0781 9.9688 4.2031 18.8906 Z"
+        /><glyph unicode="4" horiz-adv-x="55.615234" d="M32.3281 0 L32.3281 17.1406 L1.2656 17.1406 L1.2656 25.2031 L33.9375 71.5781 L41.1094 71.5781 L41.1094 25.2031 L50.7812 25.2031 L50.7812 17.1406 L41.1094 17.1406 L41.1094 0 L32.3281 0 ZM32.3281 25.2031 L32.3281 57.4688 L9.9062 25.2031 L32.3281 25.2031 Z"
+        /><glyph unicode="v" horiz-adv-x="50.0" d="M21 0 L1.2656 51.8594 L10.5469 51.8594 L21.6875 20.7969 Q23.4844 15.7656 25 10.3594 Q26.1719 14.4531 28.2656 20.2188 L39.7969 51.8594 L48.8281 51.8594 L29.2031 0 L21 0 Z"
+        /><glyph unicode="l" horiz-adv-x="22.216797" d="M6.3906 0 L6.3906 71.5781 L15.1875 71.5781 L15.1875 0 L6.3906 0 Z"
+        /><glyph unicode="W" horiz-adv-x="94.384766" d="M20.2188 0 L1.2188 71.5781 L10.9375 71.5781 L21.8281 24.6562 Q23.5781 17.2812 24.8594 10.0156 Q27.5938 21.4844 28.0781 23.25 L41.7031 71.5781 L53.125 71.5781 L63.375 35.3594 Q67.2344 21.875 68.9531 10.0156 Q70.3125 16.7969 72.5156 25.5938 L83.7344 71.5781 L93.2656 71.5781 L73.6406 0 L64.5 0 L49.4219 54.5469 Q47.5156 61.375 47.1719 62.9375 Q46.0469 58.0156 45.0625 54.5469 L29.8906 0 L20.2188 0 Z"
+        /><glyph unicode="f" horiz-adv-x="27.783203" d="M8.6875 0 L8.6875 45.0156 L0.9219 45.0156 L0.9219 51.8594 L8.6875 51.8594 L8.6875 57.375 Q8.6875 62.5938 9.625 65.1406 Q10.8906 68.5625 14.0859 70.6797 Q17.2812 72.7969 23.0469 72.7969 Q26.7656 72.7969 31.25 71.9219 L29.9375 64.2656 Q27.2031 64.75 24.75 64.75 Q20.75 64.75 19.0938 63.0391 Q17.4375 61.3281 17.4375 56.6406 L17.4375 51.8594 L27.5469 51.8594 L27.5469 45.0156 L17.4375 45.0156 L17.4375 0 L8.6875 0 Z"
+        /><glyph unicode="o" horiz-adv-x="55.615234" d="M3.3281 25.9219 Q3.3281 40.3281 11.3281 47.2656 Q18.0156 53.0312 27.6406 53.0312 Q38.3281 53.0312 45.1172 46.0234 Q51.9062 39.0156 51.9062 26.6562 Q51.9062 16.6562 48.9062 10.9141 Q45.9062 5.1719 40.1641 2 Q34.4219 -1.1719 27.6406 -1.1719 Q16.75 -1.1719 10.0391 5.8125 Q3.3281 12.7969 3.3281 25.9219 ZM12.3594 25.9219 Q12.3594 15.9688 16.7031 11.0156 Q21.0469 6.0625 27.6406 6.0625 Q34.1875 6.0625 38.5312 11.0391 Q42.875 16.0156 42.875 26.2188 Q42.875 35.8438 38.5 40.7969 Q34.125 45.75 27.6406 45.75 Q21.0469 45.75 16.7031 40.8203 Q12.3594 35.8906 12.3594 25.9219 Z"
+        /><glyph unicode=" " horiz-adv-x="27.783203" d=""
+        /><glyph unicode="#" horiz-adv-x="55.615234" d="M5.0312 -1.2188 L9.2812 19.5781 L1.0312 19.5781 L1.0312 26.8594 L10.75 26.8594 L14.3594 44.5781 L1.0312 44.5781 L1.0312 51.8594 L15.8281 51.8594 L20.0625 72.7969 L27.3906 72.7969 L23.1406 51.8594 L38.5312 51.8594 L42.7812 72.7969 L50.1406 72.7969 L45.9062 51.8594 L54.3438 51.8594 L54.3438 44.5781 L44.4375 44.5781 L40.7656 26.8594 L54.3438 26.8594 L54.3438 19.5781 L39.3125 19.5781 L35.0625 -1.2188 L27.7344 -1.2188 L31.9375 19.5781 L16.6094 19.5781 L12.3594 -1.2188 L5.0312 -1.2188 ZM18.0625 26.8594 L33.4062 26.8594 L37.0625 44.5781 L21.6875 44.5781 L18.0625 26.8594 Z"
+        /><glyph unicode="M" horiz-adv-x="83.30078" d="M7.4219 0 L7.4219 71.5781 L21.6875 71.5781 L38.625 20.9062 Q40.9688 13.8125 42.0469 10.2969 Q43.2656 14.2031 45.8438 21.7812 L62.9844 71.5781 L75.7344 71.5781 L75.7344 0 L66.6094 0 L66.6094 59.9062 L45.7969 0 L37.25 0 L16.5469 60.9375 L16.5469 0 L7.4219 0 Z"
+      /></font
+      ><font horiz-adv-x="75.0" id="font2"
+      ><font-face ascent="100.53711" descent="21.972656" units-per-em="100" style="font-style:normal; font-family:Dialog; font-weight:bold;"
+        /><missing-glyph horiz-adv-x="75.0" d="M12.5 0 L12.5 62.5 L62.5 62.5 L62.5 0 L12.5 0 ZM14.0625 1.5625 L60.9375 1.5625 L60.9375 60.9375 L14.0625 60.9375 L14.0625 1.5625 Z"
+        /><glyph unicode="s" horiz-adv-x="55.615234" d="M2.3438 14.7969 L16.1094 16.8906 Q17 12.8906 19.6797 10.8125 Q22.3594 8.7344 27.2031 8.7344 Q32.5156 8.7344 35.2031 10.6875 Q37.0156 12.0625 37.0156 14.3594 Q37.0156 15.9219 36.0312 16.9375 Q35.0156 17.9219 31.4531 18.75 Q14.8438 22.4062 10.4062 25.4375 Q4.25 29.6406 4.25 37.1094 Q4.25 43.8438 9.5703 48.4375 Q14.8906 53.0312 26.0781 53.0312 Q36.7188 53.0312 41.8984 49.5625 Q47.0781 46.0938 49.0312 39.3125 L36.0781 36.9219 Q35.25 39.9375 32.9297 41.5547 Q30.6094 43.1719 26.3125 43.1719 Q20.9062 43.1719 18.5625 41.6562 Q17 40.5781 17 38.875 Q17 37.4062 18.3594 36.375 Q20.2188 35.0156 31.1797 32.5234 Q42.1406 30.0312 46.4844 26.4219 Q50.7812 22.75 50.7812 16.2188 Q50.7812 9.0781 44.8281 3.9531 Q38.875 -1.1719 27.2031 -1.1719 Q16.6094 -1.1719 10.4297 3.125 Q4.25 7.4219 2.3438 14.7969 Z"
+        /><glyph unicode="e" horiz-adv-x="55.615234" d="M37.2031 16.5 L50.875 14.2031 Q48.25 6.6875 42.5547 2.7578 Q36.8594 -1.1719 28.3281 -1.1719 Q14.7969 -1.1719 8.2969 7.6719 Q3.1719 14.75 3.1719 25.5312 Q3.1719 38.4219 9.9141 45.7266 Q16.6562 53.0312 26.9531 53.0312 Q38.5312 53.0312 45.2188 45.3906 Q51.9062 37.75 51.6094 21.9688 L17.2344 21.9688 Q17.3906 15.875 20.5625 12.4766 Q23.7344 9.0781 28.4688 9.0781 Q31.6875 9.0781 33.8828 10.8359 Q36.0781 12.5938 37.2031 16.5 ZM37.9844 30.375 Q37.8438 36.3281 34.9141 39.4297 Q31.9844 42.5312 27.7812 42.5312 Q23.2969 42.5312 20.3594 39.2656 Q17.4375 35.9844 17.4844 30.375 L37.9844 30.375 Z"
+        /><glyph unicode="v" horiz-adv-x="55.615234" d="M21.4375 0 L0.5312 51.8594 L14.9375 51.8594 L24.7031 25.3906 L27.5469 16.5469 Q28.6562 19.9219 28.9531 21 Q29.6406 23.1875 30.4219 25.3906 L40.2812 51.8594 L54.3906 51.8594 L33.7969 0 L21.4375 0 Z"
+        /><glyph unicode="l" horiz-adv-x="27.783203" d="M7.1719 0 L7.1719 71.5781 L20.9062 71.5781 L20.9062 0 L7.1719 0 Z"
+        /><glyph unicode="o" horiz-adv-x="61.083984" d="M4 26.6562 Q4 33.5 7.375 39.8984 Q10.75 46.2969 16.9219 49.6641 Q23.0938 53.0312 30.7188 53.0312 Q42.4844 53.0312 50 45.3906 Q57.5156 37.75 57.5156 26.0781 Q57.5156 14.3125 49.9219 6.5703 Q42.3281 -1.1719 30.8125 -1.1719 Q23.6875 -1.1719 17.2188 2.0547 Q10.75 5.2812 7.375 11.5 Q4 17.7188 4 26.6562 ZM18.0625 25.9219 Q18.0625 18.2188 21.7266 14.1172 Q25.3906 10.0156 30.7656 10.0156 Q36.1406 10.0156 39.7734 14.1172 Q43.4062 18.2188 43.4062 26.0312 Q43.4062 33.6406 39.7734 37.7422 Q36.1406 41.8438 30.7656 41.8438 Q25.3906 41.8438 21.7266 37.7422 Q18.0625 33.6406 18.0625 25.9219 Z"
+        /><glyph unicode="W" horiz-adv-x="94.384766" d="M17.4375 0 L0.3438 71.5781 L15.1406 71.5781 L25.9219 22.4062 L39.0156 71.5781 L56.2031 71.5781 L68.75 21.5781 L79.7344 71.5781 L94.2812 71.5781 L76.9062 0 L61.5781 0 L47.3125 53.5156 L33.1094 0 L17.4375 0 Z"
+        /><glyph unicode="M" horiz-adv-x="83.30078" d="M7.0781 0 L7.0781 71.5781 L28.7188 71.5781 L41.7031 22.75 L54.5469 71.5781 L76.2188 71.5781 L76.2188 0 L62.7969 0 L62.7969 56.3438 L48.5781 0 L34.6719 0 L20.5156 56.3438 L20.5156 0 L7.0781 0 Z"
+      /></font
+    ></defs
+    ><g style="fill:white; stroke:white;"
+    ><rect x="0" y="0" width="700" style="clip-path:url(#clipPath1); stroke:none;" height="525"
+    /></g
+    ><g style="fill:white; text-rendering:optimizeSpeed; color-rendering:optimizeSpeed; image-rendering:optimizeSpeed; shape-rendering:crispEdges; stroke:white; color-interpolation:sRGB;"
+    ><rect x="0" width="700" height="525" y="0" style="stroke:none;"
+      /><path style="stroke:none;" d="M91 217 L634 217 L634 40 L91 40 Z"
+    /></g
+    ><g style="fill:rgb(38,38,38); text-rendering:geometricPrecision; image-rendering:optimizeQuality; color-rendering:optimizeQuality; stroke-linejoin:round; stroke:rgb(38,38,38); color-interpolation:linearRGB; stroke-width:0.8333;"
+    ><line y2="217" style="fill:none;" x1="91" x2="634" y1="217"
+      /><line y2="40" style="fill:none;" x1="91" x2="634" y1="40"
+      /><line y2="211.57" style="fill:none;" x1="101.4423" x2="101.4423" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="153.6538" x2="153.6538" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="205.8654" x2="205.8654" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="258.0769" x2="258.0769" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="310.2885" x2="310.2885" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="362.5" x2="362.5" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="414.7115" x2="414.7115" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="466.9231" x2="466.9231" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="519.1346" x2="519.1346" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="571.3461" x2="571.3461" y1="217"
+      /><line y2="211.57" style="fill:none;" x1="623.5577" x2="623.5577" y1="217"
+      /><line y2="45.43" style="fill:none;" x1="101.4423" x2="101.4423" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="153.6538" x2="153.6538" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="205.8654" x2="205.8654" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="258.0769" x2="258.0769" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="310.2885" x2="310.2885" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="362.5" x2="362.5" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="414.7115" x2="414.7115" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="466.9231" x2="466.9231" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="519.1346" x2="519.1346" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="571.3461" x2="571.3461" y1="40"
+      /><line y2="45.43" style="fill:none;" x1="623.5577" x2="623.5577" y1="40"
+    /></g
+    ><g transform="translate(101.4423,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1960</text
+    ></g
+    ><g transform="translate(153.6538,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1965</text
+    ></g
+    ><g transform="translate(205.8654,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1970</text
+    ></g
+    ><g transform="translate(258.0769,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1975</text
+    ></g
+    ><g transform="translate(310.2885,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1980</text
+    ></g
+    ><g transform="translate(362.5,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1985</text
+    ></g
+    ><g transform="translate(414.7115,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1990</text
+    ></g
+    ><g transform="translate(466.9231,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1995</text
+    ></g
+    ><g transform="translate(519.1346,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >2000</text
+    ></g
+    ><g transform="translate(571.3461,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >2005</text
+    ></g
+    ><g transform="translate(623.5577,221.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >2010</text
+    ></g
+    ><g transform="translate(362.5,242.5)" style="font-size:16.5px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-20.5" xml:space="preserve" y="17" style="stroke:none;"
+      >years</text
+    ></g
+    ><g style="fill:rgb(38,38,38); text-rendering:geometricPrecision; image-rendering:optimizeQuality; color-rendering:optimizeQuality; stroke-linejoin:round; stroke:rgb(38,38,38); color-interpolation:linearRGB; stroke-width:0.8333;"
+    ><line y2="40" style="fill:none;" x1="91" x2="91" y1="217"
+      /><line y2="40" style="fill:none;" x1="634" x2="634" y1="217"
+      /><line y2="217" style="fill:none;" x1="91" x2="96.4302" y1="217"
+      /><line y2="172.75" style="fill:none;" x1="91" x2="96.4302" y1="172.75"
+      /><line y2="128.5" style="fill:none;" x1="91" x2="96.4302" y1="128.5"
+      /><line y2="84.25" style="fill:none;" x1="91" x2="96.4302" y1="84.25"
+      /><line y2="40" style="fill:none;" x1="91" x2="96.4302" y1="40"
+      /><line y2="217" style="fill:none;" x1="634" x2="628.5698" y1="217"
+      /><line y2="172.75" style="fill:none;" x1="634" x2="628.5698" y1="172.75"
+      /><line y2="128.5" style="fill:none;" x1="634" x2="628.5698" y1="128.5"
+      /><line y2="84.25" style="fill:none;" x1="634" x2="628.5698" y1="84.25"
+      /><line y2="40" style="fill:none;" x1="634" x2="628.5698" y1="40"
+    /></g
+    ><g transform="translate(86.3333,217)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="6" style="stroke:none;"
+      >10</text
+    ></g
+    ><g transform="translate(86.3333,172.75)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="6" style="stroke:none;"
+      >20</text
+    ></g
+    ><g transform="translate(86.3333,128.5)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="6" style="stroke:none;"
+      >30</text
+    ></g
+    ><g transform="translate(86.3333,84.25)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="6" style="stroke:none;"
+      >40</text
+    ></g
+    ><g transform="translate(86.3333,40)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="6" style="stroke:none;"
+      >50</text
+    ></g
+    ><g transform="translate(65.9994,128.4999) rotate(-90)" style="font-size:16.5px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-43.5" xml:space="preserve" y="-4" style="stroke:none;"
+      ># of Wolves</text
+    ></g
+    ><g transform="translate(362.5,37.525)" style="font-size:16.5px; text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; color-interpolation:linearRGB; font-weight:bold;"
+    ><text x="-29" xml:space="preserve" y="-4" style="stroke:none;"
+      >Wolves</text
+    ></g
+    ><g style="stroke-linecap:butt; fill:blue; text-rendering:geometricPrecision; image-rendering:optimizeQuality; color-rendering:optimizeQuality; stroke-linejoin:round; stroke:blue; color-interpolation:linearRGB; stroke-width:3.3333;"
+    ><path d="M91 172.75 L101.4423 163.9 L111.8846 163.9 L122.3269 159.475 L132.7692 172.75 L143.2115 146.2 L153.6538 137.35 L164.0962 146.2 L174.5385 163.9 L184.9808 163.9 L195.4231 186.025 L205.8654 181.6 L216.3077 172.75 L226.75 159.475 L237.1923 155.05 L247.6346 124.075 L258.0769 79.825 L268.5192 66.55 L278.9615 110.8 L289.4038 84.25 L299.8462 70.975 L310.2885 40 L320.7308 128.5 L331.1731 199.3 L341.6154 159.475 L352.0577 155.05 L362.5 163.9 L372.9423 172.75 L383.3846 190.45 L393.8269 208.15 L404.2692 208.15 L414.7115 194.875 L425.1538 208.15 L435.5962 208.15 L446.0385 203.725 L456.4808 186.025 L466.9231 190.45 L477.3654 163.9 L487.8077 155.05 L498.25 199.3 L508.6923 150.625 L519.1346 132.925 L529.5769 177.175 L540.0192 186.025 L550.4615 177.175 L560.9039 132.925 L571.3461 128.5 L581.7885 128.5 L592.2308 168.325 L602.6731 159.475 L613.1154 155.05 L623.5577 177.175 L634 190.45" style="fill:none; fill-rule:evenodd;"
+      /><path d="M0 -6.6667 C3.6819 -6.6667 6.6667 -3.6819 6.6667 0 L6.6667 0 C6.6667 3.6819 3.6819 6.6667 -0 6.6667 C-3.6819 6.6667 -6.6667 3.6819 -6.6667 -0 C-6.6667 -3.6819 -3.6819 -6.6667 0 -6.6667 ZM0 -10 C-5.5228 -10 -10 -5.5228 -10 -0 C-10 5.5228 -5.5228 10 -0 10 C5.5228 10 10 5.5228 10 0 L10 0 C10 -5.5228 5.5228 -10 0 -10 Z" style="fill:black; stroke:none;" transform="translate(310.2885,40)"
+      /><path d="M0 -6.6667 C3.6819 -6.6667 6.6667 -3.6819 6.6667 0 L6.6667 0 C6.6667 3.6819 3.6819 6.6667 -0 6.6667 C-3.6819 6.6667 -6.6667 3.6819 -6.6667 -0 C-6.6667 -3.6819 -3.6819 -6.6667 0 -6.6667 ZM0 -10 C-5.5228 -10 -10 -5.5228 -10 -0 C-10 5.5228 -5.5228 10 -0 10 C5.5228 10 10 5.5228 10 0 L10 0 C10 -5.5228 5.5228 -10 0 -10 Z" style="fill:black; stroke:none;" transform="translate(393.8269,208.15)"
+    /></g
+    ><g style="fill:white; text-rendering:optimizeSpeed; color-rendering:optimizeSpeed; image-rendering:optimizeSpeed; shape-rendering:crispEdges; stroke:white; color-interpolation:sRGB;"
+    ><path style="stroke:none;" d="M91 466 L634 466 L634 288 L91 288 Z"
+    /></g
+    ><g style="fill:rgb(38,38,38); text-rendering:geometricPrecision; image-rendering:optimizeQuality; color-rendering:optimizeQuality; stroke-linejoin:round; stroke:rgb(38,38,38); color-interpolation:linearRGB; stroke-width:0.8333;"
+    ><line y2="466" style="fill:none;" x1="91" x2="634" y1="466"
+      /><line y2="288" style="fill:none;" x1="91" x2="634" y1="288"
+      /><line y2="460.57" style="fill:none;" x1="101.4423" x2="101.4423" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="153.6538" x2="153.6538" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="205.8654" x2="205.8654" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="258.0769" x2="258.0769" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="310.2885" x2="310.2885" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="362.5" x2="362.5" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="414.7115" x2="414.7115" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="466.9231" x2="466.9231" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="519.1346" x2="519.1346" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="571.3461" x2="571.3461" y1="466"
+      /><line y2="460.57" style="fill:none;" x1="623.5577" x2="623.5577" y1="466"
+      /><line y2="293.43" style="fill:none;" x1="101.4423" x2="101.4423" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="153.6538" x2="153.6538" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="205.8654" x2="205.8654" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="258.0769" x2="258.0769" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="310.2885" x2="310.2885" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="362.5" x2="362.5" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="414.7115" x2="414.7115" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="466.9231" x2="466.9231" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="519.1346" x2="519.1346" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="571.3461" x2="571.3461" y1="288"
+      /><line y2="293.43" style="fill:none;" x1="623.5577" x2="623.5577" y1="288"
+    /></g
+    ><g transform="translate(101.4423,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1960</text
+    ></g
+    ><g transform="translate(153.6538,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1965</text
+    ></g
+    ><g transform="translate(205.8654,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1970</text
+    ></g
+    ><g transform="translate(258.0769,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1975</text
+    ></g
+    ><g transform="translate(310.2885,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1980</text
+    ></g
+    ><g transform="translate(362.5,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1985</text
+    ></g
+    ><g transform="translate(414.7115,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1990</text
+    ></g
+    ><g transform="translate(466.9231,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >1995</text
+    ></g
+    ><g transform="translate(519.1346,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >2000</text
+    ></g
+    ><g transform="translate(571.3461,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >2005</text
+    ></g
+    ><g transform="translate(623.5577,470.6667)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-17" xml:space="preserve" y="16" style="stroke:none;"
+      >2010</text
+    ></g
+    ><g transform="translate(362.5,491.5)" style="font-size:16.5px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-20.5" xml:space="preserve" y="17" style="stroke:none;"
+      >years</text
+    ></g
+    ><g style="fill:rgb(38,38,38); text-rendering:geometricPrecision; image-rendering:optimizeQuality; color-rendering:optimizeQuality; stroke-linejoin:round; stroke:rgb(38,38,38); color-interpolation:linearRGB; stroke-width:0.8333;"
+    ><line y2="288" style="fill:none;" x1="91" x2="91" y1="466"
+      /><line y2="288" style="fill:none;" x1="634" x2="634" y1="466"
+      /><line y2="466" style="fill:none;" x1="91" x2="96.4302" y1="466"
+      /><line y2="428.8839" style="fill:none;" x1="91" x2="96.4302" y1="428.8839"
+      /><line y2="391.7677" style="fill:none;" x1="91" x2="96.4302" y1="391.7677"
+      /><line y2="354.6516" style="fill:none;" x1="91" x2="96.4302" y1="354.6516"
+      /><line y2="317.5355" style="fill:none;" x1="91" x2="96.4302" y1="317.5355"
+      /><line y2="466" style="fill:none;" x1="634" x2="628.5698" y1="466"
+      /><line y2="428.8839" style="fill:none;" x1="634" x2="628.5698" y1="428.8839"
+      /><line y2="391.7677" style="fill:none;" x1="634" x2="628.5698" y1="391.7677"
+      /><line y2="354.6516" style="fill:none;" x1="634" x2="628.5698" y1="354.6516"
+      /><line y2="317.5355" style="fill:none;" x1="634" x2="628.5698" y1="317.5355"
+    /></g
+    ><g transform="translate(86.3333,466)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-9" xml:space="preserve" y="6" style="stroke:none;"
+      >0</text
+    ></g
+    ><g transform="translate(86.3333,428.8839)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-26" xml:space="preserve" y="6" style="stroke:none;"
+      >500</text
+    ></g
+    ><g transform="translate(86.3333,391.7677)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-34" xml:space="preserve" y="6" style="stroke:none;"
+      >1000</text
+    ></g
+    ><g transform="translate(86.3333,354.6516)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-34" xml:space="preserve" y="6" style="stroke:none;"
+      >1500</text
+    ></g
+    ><g transform="translate(86.3333,317.5355)" style="font-size:15px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-34" xml:space="preserve" y="6" style="stroke:none;"
+      >2000</text
+    ></g
+    ><g transform="translate(49,376.9999) rotate(-90)" style="font-size:16.5px; fill:rgb(38,38,38); text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; stroke:rgb(38,38,38); color-interpolation:linearRGB;"
+    ><text x="-41" xml:space="preserve" y="-4" style="stroke:none;"
+      ># of Moose</text
+    ></g
+    ><g transform="translate(362.5,285.525)" style="font-size:16.5px; text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; color-interpolation:linearRGB; font-weight:bold;"
+    ><text x="-26.5" xml:space="preserve" y="-4" style="stroke:none;"
+      >Moose</text
+    ></g
+    ><g style="stroke-linecap:butt; fill:red; text-rendering:geometricPrecision; image-rendering:optimizeQuality; color-rendering:optimizeQuality; stroke-linejoin:bevel; stroke-dasharray:12,12; stroke:red; color-interpolation:linearRGB; stroke-width:3.3333; stroke-miterlimit:1;"
+    ><path d="M91 426.0518 L101.4423 424.1631 L111.8846 423.5689 L122.3269 422.9946 L132.7692 421.7611 L143.2115 419.9479 L153.6538 418.9367 L164.0962 416.9375 L174.5385 409.1679 L184.9808 403.0497 L195.4231 388.7453 L205.8654 388.4269 L216.3077 378.2148 L226.75 373.7214 L237.1923 375.81 L247.6346 376.684 L258.0769 381.4506 L268.5192 386.5651 L278.9615 395.5706 L289.4038 403.3104 L299.8462 402.3843 L310.2885 407.471 L320.7308 409.0579 L331.1731 408.1086 L341.6154 404.3561 L352.0577 397.183 L362.5 393.5361 L372.9423 390.721 L383.3846 388.3557 L393.8269 383.1559 L404.2692 372.4983 L414.7115 368.3898 L425.1538 354.9371 L435.5962 339.9948 L446.0385 333.6065 L456.4808 316.2622 L466.9231 308.8781 L477.3654 288 L487.8077 399.2015 L498.25 397.3377 L508.6923 391.9926 L519.1346 389.4334 L529.5769 382.8449 L540.0192 384.3445 L550.4615 399.1909 L560.9039 410.3258 L571.3461 425.9146 L581.7885 432.5955 L592.2308 437.4206 L602.6731 417.749 L613.1154 426.6569 L623.5577 428.1415 L634 427.7704" style="fill:none; fill-rule:evenodd;"
+    /></g
+    ><g transform="translate(477.3654,288)" style="stroke-linecap:butt; text-rendering:geometricPrecision; color-rendering:optimizeQuality; image-rendering:optimizeQuality; color-interpolation:linearRGB; stroke-width:3.3333;"
+    ><path style="fill:none;" d="M0 -9 L0 9 M-9 0 L9 0 M-5.8926 -5.8926 L5.8926 5.8926 M-5.8926 5.8926 L5.8926 -5.8926"
+      /><path d="M0 -9 L0 9 M-9 0 L9 0 M-5.8926 -5.8926 L5.8926 5.8926 M-5.8926 5.8926 L5.8926 -5.8926" style="fill:none;" transform="translate(114.8654,149.4206)"
+    /></g
+  ></g
+></svg
+>
diff --git a/Yatzee/dice_sim.m b/Yatzee/dice_sim.m
new file mode 100644 (file)
index 0000000..65af3c6
--- /dev/null
@@ -0,0 +1,4 @@
+function [dice_results] = dice_sim(num_of_dice)
+%dice_sim Simulates ´num of dice´ many dice rolls and returns results vector
+dice_results = randi(6, 1, num_of_dice);
+end
\ No newline at end of file
diff --git a/Yatzee/hist_plot.m b/Yatzee/hist_plot.m
new file mode 100644 (file)
index 0000000..aa9f5b0
--- /dev/null
@@ -0,0 +1 @@
+histogram(dice_results, 6)
\ No newline at end of file
diff --git a/Yatzee/main.asv b/Yatzee/main.asv
new file mode 100644 (file)
index 0000000..91b9529
--- /dev/null
@@ -0,0 +1,30 @@
+clear;
+clc;
+
+% Roll x dice
+count = 1;
+results = dice_sim(5);
+[main_n, main_most_common] = max(sum_vec(results));
+main_most_common
+results
+main_n
+while count < 5
+    results = dice_sim(5 - main_n);
+    % determine most common dice
+    
+    [n, most_common] = max(sum_vec(results));
+    if n > main_n
+        main_most_common = most_common;
+        main_n = n;
+    else 
+        if most_common 
+        main_n = main
+
+    end
+    main_most_common
+    results
+    main_n
+    % reroll other dice
+    % repeat until all dice are unified
+    count = count + 1;
+end
diff --git a/Yatzee/main.m b/Yatzee/main.m
new file mode 100644 (file)
index 0000000..bd00a1a
--- /dev/null
@@ -0,0 +1,23 @@
+clear;
+clc;
+dice = 10;
+% Roll x dice
+count = 1;
+results = dice_sim(dice);
+[main_n, main_most_common] = max(sum_vec(results));
+while main_n < dice
+    results = dice_sim(dice - main_n);
+    % determine most common dice
+    sigma = sum_vec(results);
+    [n, most_common] = max(sigma);
+    if n > main_n
+        main_most_common = most_common;
+        main_n = n;
+    else 
+        main_n = main_n + sigma(main_most_common);
+    end
+    % reroll other dice
+    % repeat until all dice are unified
+    count = count + 1;
+end
+count
\ No newline at end of file
diff --git a/Yatzee/sum_vec.m b/Yatzee/sum_vec.m
new file mode 100644 (file)
index 0000000..af727f5
--- /dev/null
@@ -0,0 +1,11 @@
+function [sum_vec] = sum_vec(dice_results)
+%UNTITLED5 Summary of this function goes here
+%   Detailed explanation goes here
+sum_vec = zeros(1, 6);
+for num=1:6
+    for i=1:length(dice_results)
+        if dice_results(i) == num
+            sum_vec(num) = sum_vec(num) + 1;
+        end
+    end
+end
\ No newline at end of file