book/src/labtar_hist.tex
changeset 1 866172a16472
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/book/src/labtar_hist.tex	Wed Mar 23 21:10:10 2011 +0100
     1.3 @@ -0,0 +1,104 @@
     1.4 +% GNUPLOT: LaTeX picture with Postscript
     1.5 +\begingroup
     1.6 +  \makeatletter
     1.7 +  \providecommand\color[2][]{%
     1.8 +    \GenericError{(gnuplot) \space\space\space\@spaces}{%
     1.9 +      Package color not loaded in conjunction with
    1.10 +      terminal option `colourtext'%
    1.11 +    }{See the gnuplot documentation for explanation.%
    1.12 +    }{Either use 'blacktext' in gnuplot or load the package
    1.13 +      color.sty in LaTeX.}%
    1.14 +    \renewcommand\color[2][]{}%
    1.15 +  }%
    1.16 +  \providecommand\includegraphics[2][]{%
    1.17 +    \GenericError{(gnuplot) \space\space\space\@spaces}{%
    1.18 +      Package graphicx or graphics not loaded%
    1.19 +    }{See the gnuplot documentation for explanation.%
    1.20 +    }{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
    1.21 +    \renewcommand\includegraphics[2][]{}%
    1.22 +  }%
    1.23 +  \providecommand\rotatebox[2]{#2}%
    1.24 +  \@ifundefined{ifGPcolor}{%
    1.25 +    \newif\ifGPcolor
    1.26 +    \GPcolorfalse
    1.27 +  }{}%
    1.28 +  \@ifundefined{ifGPblacktext}{%
    1.29 +    \newif\ifGPblacktext
    1.30 +    \GPblacktexttrue
    1.31 +  }{}%
    1.32 +  % define a \g@addto@macro without @ in the name:
    1.33 +  \let\gplgaddtomacro\g@addto@macro
    1.34 +  % define empty templates for all commands taking text:
    1.35 +  \gdef\gplbacktext{}%
    1.36 +  \gdef\gplfronttext{}%
    1.37 +  \makeatother
    1.38 +  \ifGPblacktext
    1.39 +    % no textcolor at all
    1.40 +    \def\colorrgb#1{}%
    1.41 +    \def\colorgray#1{}%
    1.42 +  \else
    1.43 +    % gray or color?
    1.44 +    \ifGPcolor
    1.45 +      \def\colorrgb#1{\color[rgb]{#1}}%
    1.46 +      \def\colorgray#1{\color[gray]{#1}}%
    1.47 +      \expandafter\def\csname LTw\endcsname{\color{white}}%
    1.48 +      \expandafter\def\csname LTb\endcsname{\color{black}}%
    1.49 +      \expandafter\def\csname LTa\endcsname{\color{black}}%
    1.50 +      \expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
    1.51 +      \expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
    1.52 +      \expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
    1.53 +      \expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
    1.54 +      \expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
    1.55 +      \expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
    1.56 +      \expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
    1.57 +      \expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
    1.58 +      \expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
    1.59 +    \else
    1.60 +      % gray
    1.61 +      \def\colorrgb#1{\color{black}}%
    1.62 +      \def\colorgray#1{\color[gray]{#1}}%
    1.63 +      \expandafter\def\csname LTw\endcsname{\color{white}}%
    1.64 +      \expandafter\def\csname LTb\endcsname{\color{black}}%
    1.65 +      \expandafter\def\csname LTa\endcsname{\color{black}}%
    1.66 +      \expandafter\def\csname LT0\endcsname{\color{black}}%
    1.67 +      \expandafter\def\csname LT1\endcsname{\color{black}}%
    1.68 +      \expandafter\def\csname LT2\endcsname{\color{black}}%
    1.69 +      \expandafter\def\csname LT3\endcsname{\color{black}}%
    1.70 +      \expandafter\def\csname LT4\endcsname{\color{black}}%
    1.71 +      \expandafter\def\csname LT5\endcsname{\color{black}}%
    1.72 +      \expandafter\def\csname LT6\endcsname{\color{black}}%
    1.73 +      \expandafter\def\csname LT7\endcsname{\color{black}}%
    1.74 +      \expandafter\def\csname LT8\endcsname{\color{black}}%
    1.75 +    \fi
    1.76 +  \fi
    1.77 +  \setlength{\unitlength}{0.0500bp}%
    1.78 +  \begin{picture}(4320.00,3024.00)%
    1.79 +    \gplgaddtomacro\gplbacktext{%
    1.80 +      \csname LTb\endcsname%
    1.81 +      \put(1342,704){\makebox(0,0)[r]{\strut{}$0$}}%
    1.82 +      \put(1342,961){\makebox(0,0)[r]{\strut{}$100$}}%
    1.83 +      \put(1342,1218){\makebox(0,0)[r]{\strut{}$200$}}%
    1.84 +      \put(1342,1475){\makebox(0,0)[r]{\strut{}$300$}}%
    1.85 +      \put(1342,1732){\makebox(0,0)[r]{\strut{}$400$}}%
    1.86 +      \put(1342,1989){\makebox(0,0)[r]{\strut{}$500$}}%
    1.87 +      \put(1342,2246){\makebox(0,0)[r]{\strut{}$600$}}%
    1.88 +      \put(1342,2503){\makebox(0,0)[r]{\strut{}$700$}}%
    1.89 +      \put(1342,2760){\makebox(0,0)[r]{\strut{}$800$}}%
    1.90 +      \put(1474,484){\makebox(0,0){\strut{}$0$}}%
    1.91 +      \put(1833,484){\makebox(0,0){\strut{}$5$}}%
    1.92 +      \put(2193,484){\makebox(0,0){\strut{}$10$}}%
    1.93 +      \put(2552,484){\makebox(0,0){\strut{}$15$}}%
    1.94 +      \put(2912,484){\makebox(0,0){\strut{}$20$}}%
    1.95 +      \put(3271,484){\makebox(0,0){\strut{}$25$}}%
    1.96 +      \put(3631,484){\makebox(0,0){\strut{}$30$}}%
    1.97 +      \put(3990,484){\makebox(0,0){\strut{}$35$}}%
    1.98 +      \put(440,1732){\rotatebox{90}{\makebox(0,0){\strut{}Häufigkeit}}}%
    1.99 +      \put(2732,154){\makebox(0,0){\strut{}Separationszeit (min)}}%
   1.100 +    }%
   1.101 +    \gplgaddtomacro\gplfronttext{%
   1.102 +    }%
   1.103 +    \gplbacktext
   1.104 +    \put(0,0){\includegraphics{labtar_hist}}%
   1.105 +    %\gplfronttext
   1.106 +  \end{picture}%
   1.107 +\endgroup