summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_6_de/15-03-23.ltx
blob: ddb9b9e30cdad45bb050ae22c2b7cc24e67bf5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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}