File: fig_pstricks.tex

package info (click to toggle)
latex2rtf 2.3.18a-5
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,392 kB
  • sloc: ansic: 20,424; makefile: 660; sh: 478; perl: 22
file content (29 lines) | stat: -rwxr-xr-x 617 bytes parent folder | download | duplicates (4)
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
\documentclass{article}

\usepackage{pstricks-add}

\begin{document}

\psset{xunit=0.5cm,yunit=0.5cm,linecolor=red}
\newpsstyle{graphstyle}{linecolor=green}
\newpsstyle{plotstyle}{linewidth=3pt}

\begin{pspicture}(-10,-5)(10,5)
  \psplot{-10}{10}{x 180 mul 3.1416 div sin}
  \psaxes(0,0)(-10,-5)(10,5)
\end{pspicture}

\vspace{1cm}

\begin{pspicture}(-10,-5)(10,5)
  \psplot[algebraic]{-10}{10}{sin(x)}
  \psaxes(0,0)(-10,-5)(10,5)
\end{pspicture}

\psset{algebraic}

\begin{psgraph}[ticksize=0,labels=none](0,0)(-10,-5)(10,5){.5\textwidth}{!}
  \psplot[linecolor=blue]{-10}{10}{cos(x)}
\end{psgraph}

\end{document}