diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/subfigur.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-tipps-und-tricks/subfigur.tex | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/subfigur.tex b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/subfigur.tex new file mode 100644 index 00000000000..bd708d0c484 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/subfigur.tex @@ -0,0 +1,47 @@ +\documentclass[a4paper,12pt]{report} +\usepackage{german} +\usepackage[hang]{subfigure} +\usepackage{pstricks,pst-plot} +\begin{document} + +Abbildung~\ref{func} zeigt die Graphen einiger elementarer Funktionen, +Teilabbildung~\ref{rat} einige rationale Funktionen. + +\begin{figure}\centering +\subfigure[Trigonometrische Funktionen: $\sin x$ und + $\cos x$\label{trig}] + {\psset{xunit=5mm, yunit=13mm} + \pspicture(-5,-1.5)(5,1.5) + \psaxes{->}(0,0)(-5,-1.5)(5,1.5) + \psplot{-5}{5}{x 3.14159 div 90 mul sin} + \psplot[linestyle=dotted]{-5}{5}{x 3.14159 div 90 mul cos} + \endpspicture + } +\hfil +\subfigure[Rationale Funktionen: $x^2$, $x^3$ und + $\frac{x^3}{4}-x^2$\label{pot}] + {\psset{xunit=5mm, yunit=0.67mm} + \pspicture(-5,-30)(5,30) + \psaxes[Dy=10,dy=10]{->}(0,0)(-5,-30)(5,30) + \psplot{-5}{5}{x dup mul} + \psplot[linestyle=dotted]{-3}{3}{x dup mul x mul} + \psplot[linestyle=dashed]{-4}{5}{x dup mul dup neg exch + x mul 4 div add} + \endpspicture + } + +\subfigure[Gebrochen rationale Funktionen: $\frac{1}{x}$ und + $\frac{1}{x^2}$\label{rat}] + {\psset{xunit=5mm, yunit=4mm} + \pspicture(-5,-5)(5,5) + \psaxes{->}(0,0)(-5,-5)(5,5) + \psplot{-5}{-.5}{1 x div} \psplot{.5}{5}{1 x div} + \psplot[linestyle=dotted]{-5}{-.5}{1 x dup mul div} + \psplot[linestyle=dotted]{.5}{5}{1 x dup mul div} + \endpspicture + } + +\caption{Eine Kollektion von Funktionsgraphen.\label{func}} +\end{figure} + +\end{document} |