[pstricks] pst-slpe

Manfred Braun manfred.braun at uni-due.de
Sat May 4 20:53:31 CEST 2013


Hi list,
When rotating an object that is shaded by  fillstyle=slpe,  the widths of the shading zones change with the rotation angle, see the minimal example below. Equidistant spacing appears only at angles 0 and 90 degrees. Is this intended? Is it possible to rotate an object keeping exactly the original shading pattern?
Manfred

\documentclass{minimal}
\usepackage{pstricks}
\usepackage{pst-slpe}
\begin{document}
\begin{pspicture}(16,3)
  \psset{fillstyle=slope, slopebegin=gray, slopeend=white, slopesteps=5}
  \rput{0}(0,0){\psframe(2,1)}
  \rput{15}(2.5,0){\psframe(2,1)}
  \rput{30}(5,0){\psframe(2,1)}
  \rput{45}(7.5,0){\psframe(2,1)}
  \rput{60}(10,0){\psframe(2,1)}
  \rput{75}(12.5,0){\psframe(2,1)}
  \rput{90}(15,0){\psframe(2,1)}
  \psline(15,0)
\end{pspicture}
\end{document}




More information about the PSTricks mailing list