[pstricks] problem with \psGaussI

mathias legrand legrand.mathias at gmail.com
Sat Nov 7 01:55:53 CET 2009


hi all,

here is my code:

\psset{yunit=10cm,xunit=1.5}
\begin{pspicture}(-3,-0.2)(3,0.5)
\pscustom[fillstyle=solid,fillcolor=ocre!30]{
\psGauss[sigma=1,mue=0,linecolor=black, linewidth=0pt]{-2.75}{2.75}}
\psGauss[sigma=1,mue=0,linecolor=black, linewidth=1.5pt]{-2.75}{2.75}
\psaxes[Dx=1,Dy=0.1,tickstyle=top,labelsep=1pt](0,0)(-3,0)(3,0.5)
\def\psvlabel#1{\small\textcolor{ocre}{#1}}
\psset{yunit=0.5}
\psaxes[Dy=0.1,Oy=0,ticks=y,labels=y,tickstyle=bottom,ylabelPos=right,axesstyle=frame,labelsep=1pt]{-}(3,0)(-3,1.0001)
\psGaussI[sigma=1,mue=0,linewidth=1.5pt,yunit=2.5,Simpson=20,linecolor=ocre]{-2.75}{2.75}%
\end{pspicture}

which is a correct picture but the yunit=2.5 in  the options pf 
\psGaussI should be yunit=1, correct ?

Thank you,

Mathias



More information about the PSTricks mailing list