summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-18 13:56:34 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-18 13:56:34 +0200
commit8400209c1398466fb9931f13a93463a3be92394b (patch)
tree698ef4a7acd8ed412b3f2804a9933fb8a40919e3
parent34971c9bf1aab13b92a37fa15de2d199e6b705a2 (diff)
downloaddmc-8400209c1398466fb9931f13a93463a3be92394b.tar.gz
dmc-8400209c1398466fb9931f13a93463a3be92394b.tar.bz2
dmc-8400209c1398466fb9931f13a93463a3be92394b.zip
graph: Use font size 9 and fix sevenday axes plot
-rw-r--r--graph.m14
-rw-r--r--sevenday_plot.m4
2 files changed, 9 insertions, 9 deletions
diff --git a/graph.m b/graph.m
index 1de7585..25870a2 100644
--- a/graph.m
+++ b/graph.m
@@ -3,7 +3,7 @@ colormap(tangocolors_middle);
% quantity sum
plot(sum(q'), '-o', 'linewidth', 2);
-print('doc/image/q_sum.svg', '-dsvg', '-F:14');
+print('doc/image/q_sum.svg', '-dsvg', '-F:9');
% optimization graph
percent = round(local_min_count / sum(local_min_count) * 100);
@@ -36,16 +36,16 @@ 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]);
+%ylim([0 4000]);
+%xlim([0 42]);
xlabel('Tage');
ylabel('Quantitaet');
-print('doc/image/sevenday_window.svg', '-dsvg')
+print('doc/image/sevenday_window.svg', '-dsvg', '-F:9')
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')
+%xlabel('Tage');
+%ylabel('Quantitaet');
+print('doc/image/sevenday_pred.svg', '-dsvg', '-F:9')
hold off;
diff --git a/sevenday_plot.m b/sevenday_plot.m
index 393b4cd..e72e779 100644
--- a/sevenday_plot.m
+++ b/sevenday_plot.m
@@ -9,12 +9,12 @@ xlim([0 42]);
xlabel('Tage');
ylabel('Quantitaet');
-print('doc/image/sevenday_window.svg', '-dsvg')
+print('doc/image/sevenday_window.svg', '-dsvg', '-F:9')
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')
+print('doc/image/sevenday_pred.svg', '-dsvg', '-F:9')
hold off;