[pstricks] mathLabel with pst-solide3d

Herbert Voss Herbert.Voss at fu-berlin.de
Thu Oct 17 15:43:43 CEST 2024


Am 17.10.24 um 15:29 schrieb Patrice MEGRET:
> mathlabel key is not working when the pst-solide3d package is loaded.
>
> In the example below, everything works as expected without 
> pst-solide3d, and if this package is loaded, then the error message is:
>


Patrice,

that happens always if two packages have identical keywords.
Use it this way:

> \documentclass{report}
> \usepackage{pstricks}
> \usepackage{pst-plot}
> \usepackage{pst-func}
> \usepackage{pst-sigsys}
> %\usepackage{pst-solides3d}
> \begin{document}
> \psset{llx=-1cm,lly=-0.5cm,urx=1cm,ury=1cm,xAxisLabel=$z$,yAxisLabel={$F(z)$, 
> $p(z)$}}
> \begin{psgraph}[axesstyle=frame,Ox=-5,Dx=1,Dy=0.2,subticks=2,xticksize=0 
> 1,yticksize=0 10,subticksize=1](-5,0)(5,1){10cm}{5cm}
> \psGauss[mue=0,sigma=1,linewidth=1.5pt,linecolor=blue]{-5}{5}
> \psGaussI[mue=0,sigma=1,linewidth=1.5pt,linecolor=orange]{-5}{5}
> \end{psgraph}

\psset{llx=-1cm,lly=-0.5cm,urx=1cm,ury=1cm,xAxisLabel=$z$,yAxisLabel={$F(z)$, 
$p(z)$}}
     \psset[pst-plot]{mathLabel=false}%%%  and delete mathLabel for psgraph
\begin{psgraph}[axesstyle=frame,Ox=-5,Dx=1,Dy=0.2,subticks=2,xticksize=0 
1,yticksize=0 10,subticksize=1,labelFontSize=\tiny](-5,0)(5,1){10cm}{5cm}
\psGauss[mue=0,sigma=1,linewidth=1.5pt,linecolor=blue]{-5}{5}
\psGaussI[mue=0,sigma=1,linewidth=1.5pt,linecolor=orange]{-5}{5}
     \end{psgraph}

> \end{document}
>

Herbert


More information about the PSTricks mailing list.