[pstricks] Export a eps file from Pstricks and pst-eps
Jeffrey Tseng
ytseng3 at gmail.com
Sun Oct 23 22:40:22 CEST 2005
Hi,
I wonder if the pst-eps package could calculate the BoundingBox
of eps correctly.
For example, the coordinate of grid will be chopped off on the
boundary of eps file when use /showgrid or /psgrid.
Here is a simple example.
called myfig.tex
#######################
\documentclass[11pt]{article}
\usepackage{pstricks,pst-eps}
\pagestyle{empty}
\newpsobject{showgrid}{psgrid}{subgriddiv=1,griddots=10,gridlabels=6pt}
\begin{document}
\begin{TeXtoEPS}
\begin{pspicture}(0,0)(3,2)\showgrid
\psdots[linecolor=blue,dotstyle=triangle,
dotscale=2](0,0.5)(1,2)(2.8,1.5)
\pscurve[linecolor=cyan,showpoints=true]{->}%
(0,1.2)(1.3,1.8)(3,0.4)(0.5,0.2)
\end{pspicture}
\end{TeXtoEPS}
\end{document}
##################
type command
latex myfig.tex
dvips -E -o myfig.eps myfig
Then ghostview the "myfig.eps". The number of coordinate and some
symbols will be chopped off.
Dose any one know how to fix it ?
Thanks,
-Jeffrey
More information about the PSTricks
mailing list