# [pstricks] Global settings for linewidth

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Apr 15 17:18:58 CEST 2012

Am 15.04.2012 15:39, schrieb Clemens Schäfermeier:

> 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.

That is not possible. pst-3dplot itself does a