blob: 4eff049059e6149f1d27bafcbc2855a7e9b161a1 [file] [log] [blame]
avm999632d296352021-04-30 00:04:37 +02001% GNUPLOT: LaTeX picture with Postscript
2\begingroup
3 \makeatletter
4 \providecommand\color[2][]{%
5 \GenericError{(gnuplot) \space\space\space\@spaces}{%
6 Package color not loaded in conjunction with
7 terminal option `colourtext'%
8 }{See the gnuplot documentation for explanation.%
9 }{Either use 'blacktext' in gnuplot or load the package
10 color.sty in LaTeX.}%
11 \renewcommand\color[2][]{}%
12 }%
13 \providecommand\includegraphics[2][]{%
14 \GenericError{(gnuplot) \space\space\space\@spaces}{%
15 Package graphicx or graphics not loaded%
16 }{See the gnuplot documentation for explanation.%
17 }{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
18 \renewcommand\includegraphics[2][]{}%
19 }%
20 \providecommand\rotatebox[2]{#2}%
21 \@ifundefined{ifGPcolor}{%
22 \newif\ifGPcolor
23 \GPcolortrue
24 }{}%
25 \@ifundefined{ifGPblacktext}{%
26 \newif\ifGPblacktext
27 \GPblacktexttrue
28 }{}%
29 % define a \g@addto@macro without @ in the name:
30 \let\gplgaddtomacro\g@addto@macro
31 % define empty templates for all commands taking text:
32 \gdef\gplbacktext{}%
33 \gdef\gplfronttext{}%
34 \makeatother
35 \ifGPblacktext
36 % no textcolor at all
37 \def\colorrgb#1{}%
38 \def\colorgray#1{}%
39 \else
40 % gray or color?
41 \ifGPcolor
42 \def\colorrgb#1{\color[rgb]{#1}}%
43 \def\colorgray#1{\color[gray]{#1}}%
44 \expandafter\def\csname LTw\endcsname{\color{white}}%
45 \expandafter\def\csname LTb\endcsname{\color{black}}%
46 \expandafter\def\csname LTa\endcsname{\color{black}}%
47 \expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
48 \expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
49 \expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
50 \expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
51 \expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
52 \expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
53 \expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
54 \expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
55 \expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
56 \else
57 % gray
58 \def\colorrgb#1{\color{black}}%
59 \def\colorgray#1{\color[gray]{#1}}%
60 \expandafter\def\csname LTw\endcsname{\color{white}}%
61 \expandafter\def\csname LTb\endcsname{\color{black}}%
62 \expandafter\def\csname LTa\endcsname{\color{black}}%
63 \expandafter\def\csname LT0\endcsname{\color{black}}%
64 \expandafter\def\csname LT1\endcsname{\color{black}}%
65 \expandafter\def\csname LT2\endcsname{\color{black}}%
66 \expandafter\def\csname LT3\endcsname{\color{black}}%
67 \expandafter\def\csname LT4\endcsname{\color{black}}%
68 \expandafter\def\csname LT5\endcsname{\color{black}}%
69 \expandafter\def\csname LT6\endcsname{\color{black}}%
70 \expandafter\def\csname LT7\endcsname{\color{black}}%
71 \expandafter\def\csname LT8\endcsname{\color{black}}%
72 \fi
73 \fi
74 \setlength{\unitlength}{0.0500bp}%
75 \ifx\gptboxheight\undefined%
76 \newlength{\gptboxheight}%
77 \newlength{\gptboxwidth}%
78 \newsavebox{\gptboxtext}%
79 \fi%
80 \setlength{\fboxrule}{0.5pt}%
81 \setlength{\fboxsep}{1pt}%
82\begin{picture}(5660.00,3960.00)%
83 \gplgaddtomacro\gplbacktext{%
84 \csname LTb\endcsname%%
85 \put(714,560){\makebox(0,0)[r]{\strut{}$0$}}%
86 \csname LTb\endcsname%%
87 \put(714,1148){\makebox(0,0)[r]{\strut{}$0.02$}}%
88 \csname LTb\endcsname%%
89 \put(714,1737){\makebox(0,0)[r]{\strut{}$0.04$}}%
90 \csname LTb\endcsname%%
91 \put(714,2325){\makebox(0,0)[r]{\strut{}$0.06$}}%
92 \csname LTb\endcsname%%
93 \put(714,2914){\makebox(0,0)[r]{\strut{}$0.08$}}%
94 \csname LTb\endcsname%%
95 \put(714,3502){\makebox(0,0)[r]{\strut{}$0.1$}}%
96 \csname LTb\endcsname%%
97 \put(812,385){\makebox(0,0){\strut{}$0$}}%
98 \csname LTb\endcsname%%
99 \put(1636,385){\makebox(0,0){\strut{}$0.2$}}%
100 \csname LTb\endcsname%%
101 \put(2460,385){\makebox(0,0){\strut{}$0.4$}}%
102 \csname LTb\endcsname%%
103 \put(3285,385){\makebox(0,0){\strut{}$0.6$}}%
104 \csname LTb\endcsname%%
105 \put(4109,385){\makebox(0,0){\strut{}$0.8$}}%
106 \csname LTb\endcsname%%
107 \put(4933,385){\makebox(0,0){\strut{}$1$}}%
108 }%
109 \gplgaddtomacro\gplfronttext{%
110 \csname LTb\endcsname%%
111 \put(161,2031){\rotatebox{-270}{\makebox(0,0){\strut{}$\gamma$ ($\si{\newton\per\meter}$)}}}%
112 \csname LTb\endcsname%%
113 \put(3078,123){\makebox(0,0){\strut{}$c$}}%
114 \csname LTb\endcsname%%
115 \put(2420,3739){\makebox(0,0)[r]{\strut{}Experimental data}}%
116 \csname LTb\endcsname%%
117 \put(4744,3739){\makebox(0,0)[r]{\strut{}Fit}}%
118 }%
119 \gplbacktext
120 \put(0,0){\includegraphics[width={283.00bp},height={198.00bp}]{./graph}}%
121 \gplfronttext
122 \end{picture}%
123\endgroup