sawine@0: % GNUPLOT: LaTeX picture with Postscript sawine@0: \begingroup sawine@0: \makeatletter sawine@0: \providecommand\color[2][]{% sawine@0: \GenericError{(gnuplot) \space\space\space\@spaces}{% sawine@0: Package color not loaded in conjunction with sawine@0: terminal option `colourtext'% sawine@0: }{See the gnuplot documentation for explanation.% sawine@0: }{Either use 'blacktext' in gnuplot or load the package sawine@0: color.sty in LaTeX.}% sawine@0: \renewcommand\color[2][]{}% sawine@0: }% sawine@0: \providecommand\includegraphics[2][]{% sawine@0: \GenericError{(gnuplot) \space\space\space\@spaces}{% sawine@0: Package graphicx or graphics not loaded% sawine@0: }{See the gnuplot documentation for explanation.% sawine@0: }{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}% sawine@0: \renewcommand\includegraphics[2][]{}% sawine@0: }% sawine@0: \providecommand\rotatebox[2]{#2}% sawine@0: \@ifundefined{ifGPcolor}{% sawine@0: \newif\ifGPcolor sawine@0: \GPcolorfalse sawine@0: }{}% sawine@0: \@ifundefined{ifGPblacktext}{% sawine@0: \newif\ifGPblacktext sawine@0: \GPblacktexttrue sawine@0: }{}% sawine@0: % define a \g@addto@macro without @ in the name: sawine@0: \let\gplgaddtomacro\g@addto@macro sawine@0: % define empty templates for all commands taking text: sawine@0: \gdef\gplbacktext{}% sawine@0: \gdef\gplfronttext{}% sawine@0: \makeatother sawine@0: \ifGPblacktext sawine@0: % no textcolor at all sawine@0: \def\colorrgb#1{}% sawine@0: \def\colorgray#1{}% sawine@0: \else sawine@0: % gray or color? sawine@0: \ifGPcolor sawine@0: \def\colorrgb#1{\color[rgb]{#1}}% sawine@0: \def\colorgray#1{\color[gray]{#1}}% sawine@0: \expandafter\def\csname LTw\endcsname{\color{white}}% sawine@0: \expandafter\def\csname LTb\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LTa\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}% sawine@0: \expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}% sawine@0: \expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}% sawine@0: \expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}% sawine@0: \expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}% sawine@0: \expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}% sawine@0: \expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}% sawine@0: \expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}% sawine@0: \expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}% sawine@0: \else sawine@0: % gray sawine@0: \def\colorrgb#1{\color{black}}% sawine@0: \def\colorgray#1{\color[gray]{#1}}% sawine@0: \expandafter\def\csname LTw\endcsname{\color{white}}% sawine@0: \expandafter\def\csname LTb\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LTa\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT0\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT1\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT2\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT3\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT4\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT5\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT6\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT7\endcsname{\color{black}}% sawine@0: \expandafter\def\csname LT8\endcsname{\color{black}}% sawine@0: \fi sawine@0: \fi sawine@0: \setlength{\unitlength}{0.0500bp}% sawine@0: \begin{picture}(7200.00,5040.00)% sawine@0: \gplgaddtomacro\gplbacktext{% sawine@0: \csname LTb\endcsname% sawine@0: \put(1342,704){\makebox(0,0)[r]{\strut{}$-10$}}% sawine@0: \put(1342,1072){\makebox(0,0)[r]{\strut{}$0$}}% sawine@0: \put(1342,1439){\makebox(0,0)[r]{\strut{}$10$}}% sawine@0: \put(1342,1807){\makebox(0,0)[r]{\strut{}$20$}}% sawine@0: \put(1342,2174){\makebox(0,0)[r]{\strut{}$30$}}% sawine@0: \put(1342,2542){\makebox(0,0)[r]{\strut{}$40$}}% sawine@0: \put(1342,2910){\makebox(0,0)[r]{\strut{}$50$}}% sawine@0: \put(1342,3277){\makebox(0,0)[r]{\strut{}$60$}}% sawine@0: \put(1342,3645){\makebox(0,0)[r]{\strut{}$70$}}% sawine@0: \put(1342,4012){\makebox(0,0)[r]{\strut{}$80$}}% sawine@0: \put(1342,4380){\makebox(0,0)[r]{\strut{}$90$}}% sawine@0: \put(1474,484){\makebox(0,0){\strut{}$0$}}% sawine@0: \put(2149,484){\makebox(0,0){\strut{}$2$}}% sawine@0: \put(2823,484){\makebox(0,0){\strut{}$4$}}% sawine@0: \put(3498,484){\makebox(0,0){\strut{}$6$}}% sawine@0: \put(4172,484){\makebox(0,0){\strut{}$8$}}% sawine@0: \put(4847,484){\makebox(0,0){\strut{}$10$}}% sawine@0: \put(5521,484){\makebox(0,0){\strut{}$12$}}% sawine@0: \put(6196,484){\makebox(0,0){\strut{}$14$}}% sawine@0: \put(6870,484){\makebox(0,0){\strut{}$16$}}% sawine@0: \put(440,2542){\rotatebox{90}{\makebox(0,0){\strut{}Voltage $V_p$ [V]}}}% sawine@0: \put(4172,154){\makebox(0,0){\strut{}Resistance $R_0$ [$Omega$]}}% sawine@0: \put(4172,4710){\makebox(0,0){\strut{}Graph 3: Dependence of $V_p$ on $R_0$}}% sawine@0: }% sawine@0: \gplgaddtomacro\gplfronttext{% sawine@0: \csname LTb\endcsname% sawine@0: \put(5883,4207){\makebox(0,0)[r]{\strut{}"cut_laldo.csv" using 1:2}}% sawine@0: }% sawine@0: \gplbacktext sawine@0: \put(0,0){\includegraphics{graph1}}% sawine@0: \gplfronttext sawine@0: \end{picture}% sawine@0: \endgroup