summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/pstrick2.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-19 18:54:54 +0000
committerKarl Berry <karl@freefriends.org>2009-05-19 18:54:54 +0000
commit2d248026682e0a02fa2b004a0ad2f13f57d8535c (patch)
tree7088bbd745de030191c2d843c4b3f4d9d5c46d91 /Master/texmf-dist/doc/latex/latex-tipps-und-tricks/pstrick2.tex
parenteecee5a57aa7fbeb22e0df8440fb3b06c5117fc7 (diff)
move german latex docs out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13264 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/pstrick2.tex')
-rw-r--r--Master/texmf-dist/doc/latex/latex-tipps-und-tricks/pstrick2.tex24
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/pstrick2.tex b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/pstrick2.tex
new file mode 100644
index 00000000000..18562caecaa
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/pstrick2.tex
@@ -0,0 +1,24 @@
+\documentclass[a4paper,12pt]{report}
+\usepackage{german,pstricks,pst-plot,pst-node}
+\usepackage[latin1]{inputenc}
+\begin{document}
+
+Näherung der Ableitung durch eine Sekante.
+
+\psset{unit=6mm}
+\begin{center}\pspicture(0,-1)(10,8)\small
+ \psaxes{->}(10,8)
+ \psplot[linewidth=2\pslinewidth,linecolor=red]
+ {0.5}{8}{x dup mul 6 64 div mul 2 add}
+ \psline[linestyle=dotted](2,0)(2,3)
+ \psline[linestyle=dotted](6,0)(6,6)
+ \psline[linewidth=.5\pslinewidth](1,2.1)(7,6.6)
+ \psline[linewidth=.5\pslinewidth](1,1.25)(7,5.75)
+ \rput[l](5.8,5.8){\rnode{S}{}}
+ \rput[l](8,7){\rnode{Se}{Sekante}}
+ \rput[l](7.5,5.5){Tangente $\approx f'(x)$}
+\endpspicture\end{center}
+
+\nccurve[angleA=120,angleB=80]{->}{Se}{S}
+
+\end{document} \ No newline at end of file