summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/15-03-23.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/15-03-23.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/pstricks-examples/15-03-23.ltx45
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/15-03-23.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/15-03-23.ltx
new file mode 100644
index 00000000000..ddb9b9e30cd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pstricks-examples/15-03-23.ltx
@@ -0,0 +1,45 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%%
+%% Copyright (C) 2010 Herbert Voss
+%%
+%% It may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%%
+%% See http://www.latex-project.org/lppl.txt for details.
+%%
+%%
+%% ====
+% Show page(s) 1
+%%
+\documentclass[]{exaarticle}
+\pagestyle{empty}
+\setlength\textwidth{190.324pt}
+\setlength\parindent{0pt}
+\StartShownPreambleCommands
+\usepackage{pst-plot}
+\StopShownPreambleCommands
+\begin{document}
+\psset{unit=0.5cm,labelFontSize=\scriptstyle}
+\begin{pspicture}*(-5.1,-5.1)(3.1,3.1)
+ \psaxes[labelsep=.75mm,ticksize=2pt,arrowlength=1.75,linewidth=0.17mm]%
+ {->}(0,0)(-4.99,-4.99)(3,3)
+ \uput[-90](3,0){$x$} \uput[0](0,3){$y$} \rput[Br](-.15,-.35){$0$}
+ \psset{linewidth=.35mm,polarplot}
+ \def\Func{neg x sin mul x cos mul x sin 3 exp x cos 3 exp add div}
+ \psplot[linecolor=red]{140}{310}{3 \Func}
+ \psplot[linecolor=cyan]{140}{310}{6 \Func}
+ \psplot[linecolor=blue]{140}{310}{9 \Func}
+\end{pspicture}\quad \psset{unit=1cm}
+\begin{pspicture}(-2.5,-2.5)(2.5,2.5)% Ulrich Dirr
+ \psaxes[labelsep=.75mm,arrowlength=1.75,
+ ticksize=2pt,linewidth=0.17mm]{->}(0,0)(-2,-2)(2,2)
+ \uput[-90](2,0){$x$} \uput[0](0,2){$y$} \rput[Br](-.15,-.35){$0$}
+ \psset{linewidth=.35mm,plotstyle=curve,polarplot}
+ \psplot[linecolor=red]{0}{360}{x cos 2 mul x sin mul}
+ \psplot[linecolor=green]{0}{360}{x cos 3 mul x sin mul}
+ \psplot[linecolor=blue]{0}{360}{x cos 4 mul x sin mul}
+\end{pspicture}
+\end{document}