Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

140 rader
5.5 KiB

  1. % 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. \begin{picture}(3600.00,2880.00)%
  76. \gplgaddtomacro\gplbacktext{%
  77. }%
  78. \gplgaddtomacro\gplfronttext{%
  79. \csname LTb\endcsname%
  80. \put(-695,944){\makebox(0,0)[r]{\strut{}-1}}%
  81. \csname LTb\endcsname%
  82. \put(-513,866){\makebox(0,0)[r]{\strut{}-0.8}}%
  83. \csname LTb\endcsname%
  84. \put(-332,787){\makebox(0,0)[r]{\strut{}-0.6}}%
  85. \csname LTb\endcsname%
  86. \put(-151,709){\makebox(0,0)[r]{\strut{}-0.4}}%
  87. \csname LTb\endcsname%
  88. \put(30,631){\makebox(0,0)[r]{\strut{}-0.2}}%
  89. \csname LTb\endcsname%
  90. \put(211,552){\makebox(0,0)[r]{\strut{} 0}}%
  91. \csname LTb\endcsname%
  92. \put(392,474){\makebox(0,0)[r]{\strut{} 0.2}}%
  93. \csname LTb\endcsname%
  94. \put(574,396){\makebox(0,0)[r]{\strut{} 0.4}}%
  95. \csname LTb\endcsname%
  96. \put(755,317){\makebox(0,0)[r]{\strut{} 0.6}}%
  97. \csname LTb\endcsname%
  98. \put(936,239){\makebox(0,0)[r]{\strut{} 0.8}}%
  99. \csname LTb\endcsname%
  100. \put(1117,161){\makebox(0,0)[r]{\strut{} 1}}%
  101. \csname LTb\endcsname%
  102. \put(1437,188){\makebox(0,0){\strut{}-1}}%
  103. \csname LTb\endcsname%
  104. \put(1706,241){\makebox(0,0){\strut{}-0.8}}%
  105. \csname LTb\endcsname%
  106. \put(1973,294){\makebox(0,0){\strut{}-0.6}}%
  107. \csname LTb\endcsname%
  108. \put(2242,347){\makebox(0,0){\strut{}-0.4}}%
  109. \csname LTb\endcsname%
  110. \put(2511,399){\makebox(0,0){\strut{}-0.2}}%
  111. \csname LTb\endcsname%
  112. \put(2779,452){\makebox(0,0){\strut{} 0}}%
  113. \csname LTb\endcsname%
  114. \put(3048,505){\makebox(0,0){\strut{} 0.2}}%
  115. \csname LTb\endcsname%
  116. \put(3316,558){\makebox(0,0){\strut{} 0.4}}%
  117. \csname LTb\endcsname%
  118. \put(3585,611){\makebox(0,0){\strut{} 0.6}}%
  119. \csname LTb\endcsname%
  120. \put(3854,664){\makebox(0,0){\strut{} 0.8}}%
  121. \csname LTb\endcsname%
  122. \put(4122,716){\makebox(0,0){\strut{} 1}}%
  123. \put(-574,1554){\makebox(0,0)[r]{\strut{} 0.2}}%
  124. \put(-574,1660){\makebox(0,0)[r]{\strut{} 0.4}}%
  125. \put(-574,1766){\makebox(0,0)[r]{\strut{} 0.6}}%
  126. \put(-574,1872){\makebox(0,0)[r]{\strut{} 0.8}}%
  127. \put(-574,1978){\makebox(0,0)[r]{\strut{} 1}}%
  128. \put(-574,2084){\makebox(0,0)[r]{\strut{} 1.2}}%
  129. \put(-574,2190){\makebox(0,0)[r]{\strut{} 1.4}}%
  130. \put(-574,2296){\makebox(0,0)[r]{\strut{} 1.6}}%
  131. \put(-574,2402){\makebox(0,0)[r]{\strut{} 1.8}}%
  132. \put(-574,2508){\makebox(0,0)[r]{\strut{} 2}}%
  133. \put(-574,2614){\makebox(0,0)[r]{\strut{} 2.2}}%
  134. }%
  135. \gplbacktext
  136. \put(0,0){\includegraphics{lena-min}}%
  137. \gplfronttext
  138. \end{picture}%
  139. \endgroup