[pstricks] pst-plot and graphicx package

abcollier at phreaker.net abcollier at phreaker.net
Mon May 3 07:18:50 CEST 2004


hello,

does anyone know about an incompatibility between pst-plot and the graphicx package?

i have boiled the problem down to this example:

\documentclass{article}

\usepackage{pst-plot}
\usepackage{graphicx}

\begin{document}

\psset{xunit=1.0cm}
\psset{yunit=1.0cm}
\psgrid(0,0)(7,1)
\parametricplot[linewidth=1.2pt,plotstyle=curve]{0}{4}{3.1415926535897931 t mul 180 t mul sin sub 2 div 1 180 t mul cos sub 2 div}

\end{document}

now, when i process this without \usepackage{graphicx} it works fine but when i include the graphicx package i get:

! Undefined control sequence.
\GenericError  ...                                
                                         #4  \errhelp \@err@     ...
l.18 \parametricplot
                    [linewidth=1.2pt,plotstyle=curve]{0}{4}{3.14159265358979...
? 
! Emergency stop.

i have the following file versions:

 article.cls    2001/04/21 v1.4e Standard LaTeX document class
  size10.clo    2001/04/21 v1.4e Standard LaTeX file (size option)
pst-plot.sty    1997/03/25 package wrapper for PSTricks pst-plot.tex
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)

any ideas would be greatly appreciated!

best regards,
andrew collier.

-- 
Andrew B. Collier

Antarctic Research Fellow                         tel: +27 31 2601157
Space Physics Research Institute                  fax: +27 31 2616550
University of KwaZulu-Natal, Durban, 4041, South Africa



More information about the PSTricks mailing list