我正在尝试使用此代码进行绘制。我使用latex abc.tex
。然后dvipdf abc.dvi
。问题是最终的 pdf 中有多余的空间。如何解决这个问题?
\documentclass{article}
\usepackage[usenames,dvipsnames]{pstricks}
\usepackage{epsfig,pstricks}
\usepackage{pst-grad} % For gradients
\usepackage{pst-plot}
\begin{document}
\scalebox{1} % Change this value to rescale the drawing.
{
\begin{pspicture}(0,-3.4748354)(7.22,3.48)
\psline[linewidth=0.04cm,shadow=true,doubleline=true,doublesep=0.12](0.02,3.3)(5.12,3.38)
\psline[linewidth=0.04cm,shadow=true,doubleline=true,doublesep=0.12](0.0,3.32)(0.32,-1.7)
\psline[linewidth=0.04cm,shadow=true](1.78,-3.38)(6.38,-3.06)
\psline[linewidth=0.04cm](2.14,-1.82)(7.2,-1.0)
\end{pspicture}
}
\end{document}