[pstricks] Why ps2pdf cannot handle this documet

Michael Sharpe msharpe at ucsd.edu
Fri Mar 4 02:58:14 CET 2011


On Mar 3, 2011, at 5:37 PM, Per Ting wrote:

> This document is generated by GeoGebra. When compiled with Miktex, latex and dvips give no error message but ps2pdf cannot generate the pdf file. Any clue?
> 
> \documentclass[10pt]{article}
> \usepackage{pstricks-add}
> \pagestyle{empty}
> \begin{document}
> \newrgbcolor{ffqqtt}{1 0 0.2}
> \newrgbcolor{qqttff}{0 0.2 1}
> \psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25}
> \begin{pspicture*}(-6.06,-5.78)(10.36,6.4)
> \parametricplot[linewidth=1.2pt,linecolor=ffqqtt,fillcolor=ffqqtt,fillstyle=solid,opacity=0.25]{0.0}{6.28319}{3COS(t)^3|5SIN(t)^5}
> \rput{90}(0,0){\psellipse[linewidth=1.6pt,linecolor=qqttff](0,0)(5,3)}
> \end{pspicture*}
> \end{document}
> 
> Thanks,
> 
> Per

The parametric functions are not understood. Yo need too rewrite then as

3*cos(t)^3 | 5*sin(t)^5

Michael


More information about the PSTricks mailing list