[pstricks] Global settings for linewidth

Clemens Schäfermeier XC-lemens at web.de
Sun Apr 15 15:39:47 CEST 2012


Hi,
I can't find an answer about a rather simple question: How is it 
possible to change the linewidth globally? Considering

\documentclass{article}
\usepackage{pstricks,pst-3dplot}

\begin{document}
\psset{unit=1cm,linewidth=2pt}
\begin{pspicture}(-4,-4)(4,4)
	\pstThreeDSphere[SegmentColor={[cmyk]{0,0,0,0}}](0,0,0){3}
	\pstThreeDCoor
	\pstThreeDLine[SphericalCoor]{->}(0,0,0)(3,20,20)
\end{pspicture}
\end{document}

the linewidth of the sphere and the line is set to 2pt, but not the 
coordinate "system". Is there a command to do this? Is there also a 
similar command which overrides all color settings? In this example, the 
xyz axes are drawn in red, all others are drawn in black. I do know that 
I could just write

\pstThreeDCoor[linewidth=2pt,linecolor=...]

but it would be quite nice to do it globally.

Kind regards
clemens


More information about the PSTricks mailing list