summaryrefslogtreecommitdiff
path: root/sevenday_plot.m
diff options
context:
space:
mode:
Diffstat (limited to 'sevenday_plot.m')
-rw-r--r--sevenday_plot.m20
1 files changed, 20 insertions, 0 deletions
diff --git a/sevenday_plot.m b/sevenday_plot.m
new file mode 100644
index 0000000..393b4cd
--- /dev/null
+++ b/sevenday_plot.m
@@ -0,0 +1,20 @@
+X = [0 0 7 7 14 14 21 21 28 28 35 35 42 42];
+Y = [0 1 1 0 0 1 1 0 0 1 1 0 0 1];
+
+%plot(X + 3, Y * 3800, '-k', 'linewidth', 1);
+plot(sum(q'), '-ob;(Summe) Original;', 'linewidth', 2);
+hold on;
+ylim([0 4000]);
+xlim([0 42]);
+xlabel('Tage');
+ylabel('Quantitaet');
+
+print('doc/image/sevenday_window.svg', '-dsvg')
+
+plot(29:42, sum((pred_list{5})'), '-or;(Summe) Vorhersage;', 'linewidth', 2);
+%ylim([0 4000]);
+%xlim([0 14]);
+xlabel('Tage');
+ylabel('Quantitaet');
+print('doc/image/sevenday_pred.svg', '-dsvg')
+hold off;