summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/14-03-11.ltx
blob: 10b42553ad0674c6af246370627c3431b8af5698 (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
46
47
48
49
%% 
%%  A DANTE-Edition example
%% 
%% 
%%  Copyright (C) 2011 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[]{article}
\pagestyle{empty}
\setlength\textwidth{415.41023pt}
\setlength\parindent{0pt}
\AtBeginDocument{%
  \psset{mathLabel=false,labelFontSize=\small}}

\usepackage{pst-plot}

\begin{document}
\psset{unit=0.5cm,polarplot}
\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)[$x$,-90][$y$,0]
  \psset{linewidth=.35mm}
  \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} \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)[$x$,-90][$y$,0]
  \psset{linewidth=.35mm,plotstyle=curve}
  \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} \psset{plotpoints=200,unit=0.25cm}
\begin{pspicture}(-8.5,-8.5)(9,9)% Ulrich Dirr
  \psaxes[Dx=2,dx=2,Dy=2,dy=2,labelsep=.75mm,arrowlength=1.75,ticksize=2pt,
     linewidth=0.17mm]{->}(0,0)(-8.5,-8.5)(9,9)[$x$,-90][$y$,0]
  \psplot[linecolor=blue,linewidth=.35mm,plotstyle=curve]{0}{720}{8 2.5 x mul sin mul}
\end{pspicture}
\end{document}