latest TeX: grid, experiments, conclusion. some gfx changed

This commit is contained in:
2016-02-14 18:35:33 +01:00
parent 53ff0dd29e
commit 0acccf9fdc
10 changed files with 9144 additions and 3251 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
set terminal eps size 3.0,2.0
set output "grid.eps"
set terminal epslatex size 3.0,2.0
set output "grid.tex"
set ticslevel 0
set view 60, 286
@@ -23,6 +23,12 @@ set hidden3d front
set object 1 polygon from 1680,1158,720 to 1810,1158,720 to 1810,878,560 to 1680,878,560 fs solid fc rgb "#aaaaff" behind
set object 2 polygon from 1680,1158,400 to 1810,1158,400 to 1810,878,200 to 1680,878,200 fs solid fc rgb "#aaaaff" behind
set arrow 101 from 1810,878,560 to 1680,878,560 nohead lc rgb "#000000" lw 3 front
set arrow 102 from 1810,1158,720 to 1810,878,560 nohead lc rgb "#000000" lw 3
set label 101 "$\\vec{l}_1$" at 1680,878+40,560-2 center
set label 102 "$\\vec{l}_2$" at 1810,878-10,590 center
set label 103 "$\\vec{l}_3$" at 1810,1158,720+30 center
# inner
set object 4 polygon from 1510,1158,400 to 1650,1158,400 to 1650,878,560 to 1510,878,560 fs solid fc rgb "#ffaaaa" behind
set object 5 polygon from 1510,1158,720 to 1650,1158,720 to 1650,1100,760 to 1510,1100,760 fs solid fc rgb "#ffaaaa" behind
@@ -37,7 +43,7 @@ set object 11 polygon from 1280,1188,400 to 1470,1188,400 to 1510,1158,400 to 18
set object 12 polygon from 1280,1188,720 to 1470,1188,720 to 1510,1158,720 to 1810,1158,720 to 1810,1290,720 to 1280,1290,720 fs solid fc rgb "#888888" behind
splot '-' with lines lw 1 lc rgb '#555555' title '', '-' with lines lw 1 lc rgb '#555555' title '', '-' with points palette pt 7 ps 0.1 title ''
splot '-' with lines lw 1 lc rgb '#555555' title '', '-' with lines lw 1 lc rgb '#555555' title '', '-' with points palette pt 7 ps 0.3 title ''
1320 1200 400
1280 1200 400

95
tex/gfx/grid/grid.tex Normal file
View File

@@ -0,0 +1,95 @@
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'blacktext' in gnuplot or load the package
color.sty in LaTeX.}%
\renewcommand\color[2][]{}%
}%
\providecommand\includegraphics[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package graphicx or graphics not loaded%
}{See the gnuplot documentation for explanation.%
}{The gnuplot epslatex terminal needs graphicx.sty or graphics.sty.}%
\renewcommand\includegraphics[2][]{}%
}%
\providecommand\rotatebox[2]{#2}%
\@ifundefined{ifGPcolor}{%
\newif\ifGPcolor
\GPcolorfalse
}{}%
\@ifundefined{ifGPblacktext}{%
\newif\ifGPblacktext
\GPblacktexttrue
}{}%
% define a \g@addto@macro without @ in the name:
\let\gplgaddtomacro\g@addto@macro
% define empty templates for all commands taking text:
\gdef\gplbacktext{}%
\gdef\gplfronttext{}%
\makeatother
\ifGPblacktext
% no textcolor at all
\def\colorrgb#1{}%
\def\colorgray#1{}%
\else
% gray or color?
\ifGPcolor
\def\colorrgb#1{\color[rgb]{#1}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color[rgb]{1,0,0}}%
\expandafter\def\csname LT1\endcsname{\color[rgb]{0,1,0}}%
\expandafter\def\csname LT2\endcsname{\color[rgb]{0,0,1}}%
\expandafter\def\csname LT3\endcsname{\color[rgb]{1,0,1}}%
\expandafter\def\csname LT4\endcsname{\color[rgb]{0,1,1}}%
\expandafter\def\csname LT5\endcsname{\color[rgb]{1,1,0}}%
\expandafter\def\csname LT6\endcsname{\color[rgb]{0,0,0}}%
\expandafter\def\csname LT7\endcsname{\color[rgb]{1,0.3,0}}%
\expandafter\def\csname LT8\endcsname{\color[rgb]{0.5,0.5,0.5}}%
\else
% gray
\def\colorrgb#1{\color{black}}%
\def\colorgray#1{\color[gray]{#1}}%
\expandafter\def\csname LTw\endcsname{\color{white}}%
\expandafter\def\csname LTb\endcsname{\color{black}}%
\expandafter\def\csname LTa\endcsname{\color{black}}%
\expandafter\def\csname LT0\endcsname{\color{black}}%
\expandafter\def\csname LT1\endcsname{\color{black}}%
\expandafter\def\csname LT2\endcsname{\color{black}}%
\expandafter\def\csname LT3\endcsname{\color{black}}%
\expandafter\def\csname LT4\endcsname{\color{black}}%
\expandafter\def\csname LT5\endcsname{\color{black}}%
\expandafter\def\csname LT6\endcsname{\color{black}}%
\expandafter\def\csname LT7\endcsname{\color{black}}%
\expandafter\def\csname LT8\endcsname{\color{black}}%
\fi
\fi
\setlength{\unitlength}{0.0500bp}%
\ifx\gptboxheight\undefined%
\newlength{\gptboxheight}%
\newlength{\gptboxwidth}%
\newsavebox{\gptboxtext}%
\fi%
\setlength{\fboxrule}{0.5pt}%
\setlength{\fboxsep}{1pt}%
\begin{picture}(4320.00,2880.00)%
\gplgaddtomacro\gplbacktext{%
\csname LTb\endcsname%
\put(2671,1807){\makebox(0,0){\strut{}$\vec{l}_1$}}%
\put(3114,2090){\makebox(0,0){\strut{}$\vec{l}_2$}}%
\put(1602,2789){\makebox(0,0){\strut{}$\vec{l}_3$}}%
}%
\gplgaddtomacro\gplfronttext{%
}%
\gplbacktext
\put(0,0){\includegraphics{grid}}%
\gplfronttext
\end{picture}%
\endgroup