|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
\documentclass{latexkurs}
|
|
|
|
|
\documentclass[handout]{latexkurs}
|
|
|
|
|
|
|
|
|
|
\subtitle{Grafiken erstellen mit \LaTeX{}}
|
|
|
|
|
\date{\dateSeventhLecture}
|
|
|
|
@ -143,8 +143,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{column}{0.7\linewidth}
|
|
|
|
|
\begin{lstlisting}[frame=none]
|
|
|
|
|
\begin{tikzpicture}
|
|
|
|
|
\draw[red] (0,0) -- (2,3); (*@\pause @*)
|
|
|
|
|
\draw[thick,blue] (1,1) -- (1,3); (*@\pause @*)
|
|
|
|
|
\draw[red] (0,0) -- (2,3); \pause
|
|
|
|
|
\draw[thick,blue] (1,1) -- (1,3); \pause
|
|
|
|
|
\draw[step=.3] (0,0) grid (3,3);
|
|
|
|
|
\end{tikzpicture}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
@ -169,8 +169,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{column}{0.7\linewidth}
|
|
|
|
|
\begin{lstlisting}[frame=none]
|
|
|
|
|
\begin{tikzpicture}[step=0.3]
|
|
|
|
|
\draw[red,->] (0,0) -- (2,3); (*@\pause @*)
|
|
|
|
|
\draw[blue,dashed] (1,1) -- (1,3); (*@\pause @*)
|
|
|
|
|
\draw[red,->] (0,0) -- (2,3); \pause
|
|
|
|
|
\draw[blue,dashed] (1,1) -- (1,3); \pause
|
|
|
|
|
\draw[dotted] (0,0) grid (3,3);
|
|
|
|
|
\end{tikzpicture}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
@ -199,8 +199,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{column}{0.7\linewidth}
|
|
|
|
|
\begin{lstlisting}[frame=none]
|
|
|
|
|
\begin{tikzpicture}[scale=0.8,step=0.4]
|
|
|
|
|
\draw[red!50,thick,<<-] (0,0) -- (2,3); (*@\pause @*)
|
|
|
|
|
\draw[line width=4pt,blue] (1,1) -- (0,2); (*@\pause @*)
|
|
|
|
|
\draw[red!50,thick,<<-] (0,0) -- (2,3); \pause
|
|
|
|
|
\draw[line width=4pt,blue] (1,1) -- (0,2); \pause
|
|
|
|
|
\draw[dotted] (0,0) grid (3,3);
|
|
|
|
|
\end{tikzpicture}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
@ -228,9 +228,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{lstlisting}[frame=none]
|
|
|
|
|
\begin{tikzpicture}[step=0.3]
|
|
|
|
|
\tikzset{every node/.style={below}}
|
|
|
|
|
\draw[red] (0,0) -- (2,3) node[above] {a}; (*@\pause @*)
|
|
|
|
|
\draw[blue,dashed] (1,1) rectangle (2,2); (*@\pause @*)
|
|
|
|
|
\draw[dotted] (0,0) node {0} grid (3,3); (*@\pause @*)
|
|
|
|
|
\draw[red] (0,0) -- (2,3) node[above] {a}; \pause
|
|
|
|
|
\draw[blue,dashed] (1,1) rectangle (2,2); \pause
|
|
|
|
|
\draw[dotted] (0,0) node {0} grid (3,3); \pause
|
|
|
|
|
\draw[fill,opacity=0.3] (1,1) circle(1);
|
|
|
|
|
\end{tikzpicture}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
@ -270,9 +270,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\coordinate (c) at (1,1);
|
|
|
|
|
\coordinate (d) at (3,2);
|
|
|
|
|
\draw[blue] (a) -- (d);
|
|
|
|
|
\draw (a)..controls (b) and (c)..(d); (*@\pause @*)
|
|
|
|
|
\draw[green,bend left=30] (a) to (d); (*@\pause @*)
|
|
|
|
|
\draw[red,out=90, in=-90] (a) to (d); (*@\pause @*)
|
|
|
|
|
\draw (a)..controls (b) and (c)..(d); \pause
|
|
|
|
|
\draw[green,bend left=30] (a) to (d); \pause
|
|
|
|
|
\draw[red,out=90, in=-90] (a) to (d); \pause
|
|
|
|
|
\draw ($(a)!0.5!(d)$) ellipse(1 and 0.5);
|
|
|
|
|
\end{tikzpicture}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
@ -310,13 +310,13 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\coordinate (a) at (0,0);
|
|
|
|
|
\coordinate (b) at (1,1);
|
|
|
|
|
\coordinate (c) at (3,2);
|
|
|
|
|
\draw[blue] (a) -- (c);(*@\pause @*)
|
|
|
|
|
\draw (a)--(b)--(c);(*@\pause @*)
|
|
|
|
|
\begin{scope}[yshift=1cm,dashed,thick] (*@\pause @*)
|
|
|
|
|
\draw[blue] (a) -- (c);\pause
|
|
|
|
|
\draw (a)--(b)--(c);\pause
|
|
|
|
|
\begin{scope}[yshift=1cm,dashed,thick] \pause
|
|
|
|
|
\coordinate (a) at (0,0);
|
|
|
|
|
\coordinate (c) at (3,2);(*@\pause @*)
|
|
|
|
|
\draw[red] (a)--(b)--(c);(*@\pause @*)
|
|
|
|
|
\node[(*@draw@*),circle through=(a)] at (b){};
|
|
|
|
|
\coordinate (c) at (3,2);\pause
|
|
|
|
|
\draw[red] (a)--(b)--(c);\pause
|
|
|
|
|
\node[draw,circle through=(a)] at (b){};
|
|
|
|
|
\end{scope}
|
|
|
|
|
\end{tikzpicture}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
@ -346,7 +346,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{lstlisting}[mathescape=false,frame=none]
|
|
|
|
|
\usetikzlibrary{positioning} % in der Präambel
|
|
|
|
|
\begin{tikzpicture}
|
|
|
|
|
\tikzset{tomsbox/.style={rectangle, (*@draw@*),
|
|
|
|
|
\tikzset{tomsbox/.style={rectangle, draw,
|
|
|
|
|
very thick,minimum size=7mm,
|
|
|
|
|
rounded corners=2mm}}
|
|
|
|
|
\node[tomsbox] (1) at (0,0) {$T_1$};
|
|
|
|
@ -382,7 +382,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{column}{0.82\linewidth}
|
|
|
|
|
\begin{lstlisting}[mathescape=false,frame=none]
|
|
|
|
|
\begin{tikzpicture}
|
|
|
|
|
\tikzset{tomsbox/.style={rectangle, (*@draw@*),
|
|
|
|
|
\tikzset{tomsbox/.style={rectangle, draw,
|
|
|
|
|
very thick,minimum size=7mm,
|
|
|
|
|
rounded corners=2mm}}
|
|
|
|
|
\node[tomsbox] (1) at (0,0) {$T_1$};
|
|
|
|
@ -552,8 +552,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{column}{0.6\linewidth}
|
|
|
|
|
\small
|
|
|
|
|
\begin{lstlisting}[mathescape=false,frame=none]
|
|
|
|
|
\usetikzlibrary{(*@datavisualization@*),
|
|
|
|
|
(*@datavisualization@*).formats.functions}
|
|
|
|
|
\usetikzlibrary{datavisualization,
|
|
|
|
|
datavisualization.formats.functions}
|
|
|
|
|
\begin{tikzpicture}
|
|
|
|
|
\datavisualization
|
|
|
|
|
[school book axes,
|
|
|
|
@ -754,8 +754,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
|
|
|
|
|
\begin{lstlisting}
|
|
|
|
|
\coordinate (O) at (0,0);
|
|
|
|
|
\draw[->] (-0.3,0) -- (8,0) (*@coordinate@*)[label = {below:$x$}] (xmax);
|
|
|
|
|
\draw[->] (0,-0.3) -- (0,5) (*@coordinate@*)[label = {right:$f(x)$}] (ymax);
|
|
|
|
|
\draw[->] (-0.3,0) -- (8,0) coordinate[label = {below:$x$}] (xmax);
|
|
|
|
|
\draw[->] (0,-0.3) -- (0,5) coordinate[label = {right:$f(x)$}] (ymax);
|
|
|
|
|
\end{lstlisting}
|
|
|
|
|
|
|
|
|
|
\end{frame}
|
|
|
|
@ -777,7 +777,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\small
|
|
|
|
|
|
|
|
|
|
\begin{lstlisting}
|
|
|
|
|
\draw (0.3,0.5) -- (6.7,4.7) (*@node@*)[pos=0.8, below right] {Sekante};
|
|
|
|
|
\draw (0.3,0.5) -- (6.7,4.7) node[pos=0.8, below right] {Sekante};
|
|
|
|
|
\draw[red] plot[smooth] coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)};
|
|
|
|
|
\end{lstlisting}
|
|
|
|
|
|
|
|
|
@ -813,7 +813,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)};
|
|
|
|
|
\begin{scope}[name intersections = {of = x and y, name = i}]
|
|
|
|
|
\fill[gray!20] (i-1) -- (i-2 |- i-1) -- (i-2) -- cycle;
|
|
|
|
|
\draw (0.3,0.5) -- (6.7,4.7) (*@node@*)[pos=0.8, below right] {Sekante};
|
|
|
|
|
\draw (0.3,0.5) -- (6.7,4.7) node[pos=0.8, below right] {Sekante};
|
|
|
|
|
\draw[red] plot[smooth]
|
|
|
|
|
coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)};
|
|
|
|
|
\end{scope}
|
|
|
|
@ -847,9 +847,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{lstlisting}
|
|
|
|
|
\begin{scope}[name intersections = {$\dots$}]
|
|
|
|
|
$\dots\quad (\textsl{Wie vorher})$
|
|
|
|
|
\draw (i-1) (*@node@*)[label = {above:$\text{\$P\$}$}] {}
|
|
|
|
|
-- (*@node@*)[left,yshift=-3pt] {$\text{\$f(x\_0)\$}$}
|
|
|
|
|
(i-1 |- O) (*@node@*)[label = {below:$\text{\$x\_0\$}$}] {};
|
|
|
|
|
\draw (i-1) node[label = {above:$\text{\$P\$}$}] {}
|
|
|
|
|
-- node[left,yshift=-3pt] {$\text{\$f(x\_0)\$}$}
|
|
|
|
|
(i-1 |- O) node[label = {below:$\text{\$x\_0\$}$}] {};
|
|
|
|
|
\end{scope}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
|
|
|
|
|
@ -884,8 +884,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{lstlisting}
|
|
|
|
|
\begin{scope}[$\dots$]
|
|
|
|
|
$\dots\quad (\textsl{Wie vorher})$
|
|
|
|
|
\path (i-2) (*@node@*)[label = {above:$\text{\$Q\$}$}] {}
|
|
|
|
|
-- (i-2 |- i-1) (*@node@*) (i-12) {};
|
|
|
|
|
\path (i-2) node[label = {above:$\text{\$Q\$}$}] {}
|
|
|
|
|
-- (i-2 |- i-1) node (i-12) {};
|
|
|
|
|
\end{scope}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
|
|
|
|
|
@ -920,7 +920,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{scope}[$\dots$]
|
|
|
|
|
$\dots\quad(\textsf{Wie vorher})$
|
|
|
|
|
\draw (i-12) -- (i-12 |- O)
|
|
|
|
|
(*@node@*)[label = {below:(*@\$@*)x_0 + \varepsilon(*@\$@*)}] {};
|
|
|
|
|
node[label = {below:\$x_0 + \varepsilon\$}] {};
|
|
|
|
|
\end{scope}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
|
|
|
|
|
@ -957,9 +957,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{scope}[$\dots$]
|
|
|
|
|
$\dots\quad(\textsl{Wie vorher})$
|
|
|
|
|
\draw[blue, <->] (i-2) --
|
|
|
|
|
(*@node@*)[right] {(*@\$@*)f(x_0 + \varepsilon) - f(x_0)(*@\$@*)} (i-12);
|
|
|
|
|
node[right] {\$f(x_0 + \varepsilon) - f(x_0)\$} (i-12);
|
|
|
|
|
\draw[blue, <->] (i-1) --
|
|
|
|
|
(*@node@*)[below] {(*@\$@*)\varepsilon(*@\$@*)} (i-12);
|
|
|
|
|
node[below] {\$\varepsilon\$} (i-12);
|
|
|
|
|
\end{scope}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
|
|
|
|
|
@ -1000,10 +1000,10 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{scope}[$\dots$]
|
|
|
|
|
$\dots\quad (\textsl{Wie vorher})$
|
|
|
|
|
\path (i-1 |- O) --
|
|
|
|
|
(*@node@*)[below] {(*@\$@*)\varepsilon(*@\$@*)} (i-2 |- O);
|
|
|
|
|
node[below] {\$\varepsilon\$} (i-2 |- O);
|
|
|
|
|
\draw[gray] (i-2) -- (i-2 -| xmax);
|
|
|
|
|
\draw[gray, <->] ([xshift = -0.5cm]i-2 -| xmax) --
|
|
|
|
|
(*@node@*)[fill = white] {(*@\$@*)f(x_0 + \varepsilon)(*@\$@*)}
|
|
|
|
|
node[fill = white] {\$f(x_0 + \varepsilon)\$}
|
|
|
|
|
([xshift = -0.5cm]xmax);
|
|
|
|
|
\end{scope}
|
|
|
|
|
\end{lstlisting}
|
|
|
|
@ -1057,7 +1057,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
|
|
|
|
\begin{lstlisting}
|
|
|
|
|
\begin{tikzpicture}[thick, >=stealth',
|
|
|
|
|
dot/.style = {
|
|
|
|
|
(*@draw@*),
|
|
|
|
|
draw,
|
|
|
|
|
fill = white,
|
|
|
|
|
circle,
|
|
|
|
|
inner sep = 0pt,
|
|
|
|
|