[pstricks] [?? Probable Spam] sin, cos and cutting area
Juergen Gilg
gilg at acrotex.net
Thu Oct 25 18:27:01 CEST 2007
Dear Michael,
try the following suggest:
\documentclass[12pt,a4paper]{article}
\usepackage{pst-plot,pstricks,pstricks-add}
\begin{document}
\begin{pspicture}(-0.5,-1)(12,1)
\pscustom[linestyle=none,fillstyle=solid,fillcolor=gray]{%
\psplot[plotpoints=200,algebraic=true]{0.7853}{3.927}{sin(x)}
\psplot[plotpoints=200,algebraic=true]{3.927}{0.7853}{cos(x)}
}
\psplot[plotpoints=200,algebraic=true]{0}{6.28}{sin(x)}
\psplot[plotpoints=200,algebraic=true]{0}{6.28}{cos(x)}
\end{pspicture}
\end{document}
Regards,
Juergen
Michael Niedermair wrote:
> Hi,
>
> i have sin(x) and cos(x).
>
> \psplot[plotpoints=200,plotstyle=curve]{0}{360}{x sin}
> \psplot[plotpoints=200,plotstyle=curve]{0}{360}{x cos}
>
> Is it possible, to mark (fill with color) the cutting area between 45
> and 225?
>
> By
> Michael
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
>
--
jürgen gilg
austr. 59
70376 stuttgart
tel 0711-59 27 88
e-mail gilg at acrotex.net
website www.acrotex.net
www.gilligan-online.de
www.brueckenkurs-physik.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20071025/b6609ebe/attachment.html
More information about the PSTricks
mailing list