[pstricks] auto-pst-pdf incompatible with psgraph?

Herbert Voss LaTeX at zedat.fu-berlin.de
Fri Dec 19 08:59:57 CET 2008


David Arnold schrieb:

> This:
>
> \documentclass[11pt]{article}
> \usepackage{amsmath}
> \usepackage{graphicx}
> \usepackage[dvipsnames]{pstricks}
> \usepackage{pstricks-add,auto-pst-pdf}

\PreviewEnvironment{psgraph}

>
> \begin{document}
>
> \begin{center}
> \begin{psgraph}(0,0)(5,3){6cm}{!} % x-y-axis with same unit
> \psplot[linecolor=red,linewidth=1pt]{0}{5}{x dup mul 10 div}
> \end{psgraph}
> \end{center}
>
> \end{document}


Herbert



More information about the PSTricks mailing list