From 91a4c3219c64a0775242ee6d600a719e40f2d8de Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 2 Oct 2008 06:21:38 +0000 Subject: [PATCH] minor layout adjustments git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1562 a5681a0c-68f1-0310-ab6d-d61299d08faa --- tutorial/lisa2008/rrd-by-example/body.tex | 8 ++++++-- .../lisa2008/rrd-by-example/ex/graph-examples.pl | 14 +++++++------- tutorial/lisa2008/rrd-by-example/traffic/index.cgi | 5 ++++- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/tutorial/lisa2008/rrd-by-example/body.tex b/tutorial/lisa2008/rrd-by-example/body.tex index 601a8419..f14b1428 100644 --- a/tutorial/lisa2008/rrd-by-example/body.tex +++ b/tutorial/lisa2008/rrd-by-example/body.tex @@ -15,7 +15,9 @@ \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} \setlength{\parindent}{0pt} \usepackage{times} - \newcommand{\addgraph}[1]{\begin{center}\framebox{\includegraphics[width=0.7\textwidth]{ex/#1}}\end{center}} + \newcommand{\addgraph}[1]{\begin{center}\framebox{\includegraphics[width=0.9\textwidth]{ex/#1}}\end{center}} + \addtolength{\voffset}{-2.5cm} + \addtolength{\textheight}{4cm} } \usepackage{alltt} \usepackage{listings} @@ -722,6 +724,8 @@ LINE1:pred#0a0:Prediction prediction is now generally off by quite a bit, this causes the confidence band to grow as well.} +\mode
{\newpage} + \begin{frame}{hw demo: beta} \addgraph{HW-p1-a0_1-b0_001}\\ \addgraph{HW-p1-a0_1-b0_1} @@ -796,7 +800,7 @@ Tobi Oetiker } \mode
{ -\vspace{3cm} +\vspace{\stretch{1}} Tobias Oetiker } \end{document} diff --git a/tutorial/lisa2008/rrd-by-example/ex/graph-examples.pl b/tutorial/lisa2008/rrd-by-example/ex/graph-examples.pl index 37bcb3d2..d2738ac5 100755 --- a/tutorial/lisa2008/rrd-by-example/ex/graph-examples.pl +++ b/tutorial/lisa2008/rrd-by-example/ex/graph-examples.pl @@ -90,7 +90,7 @@ rg "LINE-width.pdf", rg "LINE-dash.pdf", 'LINE1:a#ff00ff:LINE1\:a#ff00ff\:\:dashes=10,10,80,10\n:dashes=10,20,80,20', - 'LINE2:b#ffaa00:LINE2\:b#ffaa00\:\:dashes=1,3\:dash-offset=10:dashes=1,3:dash-offset=3'; + 'LINE2:b#11aa00:LINE2\:b#11aa00\:\:dashes=1,3\:dash-offset=10:dashes=1,3:dash-offset=3'; rg "DEF-step.pdf", @@ -116,16 +116,16 @@ rg 'AREA-simple.pdf', 'LINE2:b#1180fb:LINE\:b#11a03b\l'; rg 'AREA-two.pdf', - 'AREA:a#f1805b:AREA\:a#a1003b', - 'AREA:b#1180fb:AREA\:b#11a03b\l'; + 'AREA:a#f1805b:AREA\:a#f1805b', + 'AREA:b#21f08b:AREA\:b#21f08b\l'; rg 'AREA-trans.pdf', - 'AREA:a#f1805bff:AREA\:a#a1003bff', - 'AREA:b#1180fb60:AREA\:b#11a03b60\l'; + 'AREA:a#f1805bff:AREA\:a#f1805bff', + 'AREA:b#21808b60:AREA\:b#21808b6060\l'; rg 'AREA-stack.pdf', - 'AREA:a#f1805b:AREA\:a#a1003b', - 'AREA:b#1180fb:AREA\:b#11a03b\:...\:STACK\l:STACK'; + 'AREA:a#f1805b:AREA\:a#f1805b', + 'AREA:b#21808b:AREA\:b#21808b\:...\:STACK\l:STACK'; rg 'SHIFT-simple.pdf', 'DEF:c=x.rrd:a:AVERAGE', diff --git a/tutorial/lisa2008/rrd-by-example/traffic/index.cgi b/tutorial/lisa2008/rrd-by-example/traffic/index.cgi index 04dd1fda..59472481 100755 --- a/tutorial/lisa2008/rrd-by-example/traffic/index.cgi +++ b/tutorial/lisa2008/rrd-by-example/traffic/index.cgi @@ -8,7 +8,10 @@

The Bytes

- + + + +
PeriodIncomingOutgoingTotal
PeriodIncomingOutgoingTotal