summaryrefslogtreecommitdiff
path: root/sevenday_plot.m
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2012-05-12 10:48:40 +0200
committerJan Klemkow <j.klemkow@wemelug.de>2012-05-12 10:48:40 +0200
commit39d19d5dcf3588572b49086688d6c1d4e9e72a07 (patch)
tree612017c0938b8ca6e0d7d5aac2b379f59e371d86 /sevenday_plot.m
parent3b0a343ff2cab08508c4718952ce0cb2b9df4fc8 (diff)
downloaddmc-39d19d5dcf3588572b49086688d6c1d4e9e72a07.tar.gz
dmc-39d19d5dcf3588572b49086688d6c1d4e9e72a07.tar.bz2
dmc-39d19d5dcf3588572b49086688d6c1d4e9e72a07.zip
doc: Add ploting scripts for sevenday and random.
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;