\documentclass[a4paper]{article}
\pdfoutput 0
\usepackage{pstcol,pst-plot,pst-eps}
  \definecolor{violet}{rgb}{0.5,0,0.2}
  \definecolor{orange}{rgb}{0.8,0.5,0}
  \definecolor{darkred}{rgb}{0.8,0,0}
\begin{document}
 \TeXtoEPS
 \begin{pspicture}(-7,-6)(7,6)
    \psset{plotpoints=1000,gridlabels=10pt,gridwidth=0.6pt,
    subgridwidth=0.3pt,subgriddiv=5,xunit=1,yunit=1,labels=none,
    ticks=none,gridcolor=violet,subgridcolor=orange}
    \psgrid (0,0)(-7,-6)(7,6)
    \psplot[linecolor=darkred,linewidth=1pt]
    {-6.28}{6.28}{x 180 mul 3.1416 div .5 mul sin x 180 mul 
    3.1416 div sin add 3 mul}	
 \end{pspicture}
 \endTeXtoEPS
\end{document}