# [pstricks] a small problem

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Feb 27 20:04:37 CET 2018

Am 27.02.2018 um 16:03 schrieb Germain Boyer:

> \small
> \psaxes[comma,showorigin=true,ticksize=-3pt 4pt, Dx=1,
> Dy=0.04,Ox=10]{->}(10,0)(\xmin,-0.025)(\xmax,0.22)
> \normalsize
> \rput(9.73,-0.015){$10$}
> \rput(9.75,0.01){$0$}
> \end{pspicture*}
>
> \end{document}
>
> The label of origin is not small !!!

\documentclass{article}

\begin{document}

\psset{xunit=0.8cm,yunit=25cm,algebraic,ticksize=-3pt 4pt}
\def\xmin {1.4}
\def\xmax {18.6}
\def\ymin {-0.025}
\def\ymax {0.22}
\begin{pspicture*}(\xmin,\ymin)(\xmax,\ymax)
\def\m{10}% moyenne
\def\s{2}% écart type
\def\f{1/(\s*sqrt(2*PI))*EXP((-((x-\m)/\s)^2)/2)}
\psplot[plotpoints=100]{1}{19}{\f}
\pscustom[fillstyle=solid,fillcolor=lightgray]{%
\psplot{1}{8}{\f}
\psline(8,0)(1,0)
}%
\psaxes[comma,showorigin,Dx=1,
Dy=0.04,Ox=10,labelFontSize=\scriptstyle]{->}(10,0)(\xmin,-0.025)(\xmax,0.22)
\uput{1.6\pslabelsep}[-90](9.73,0){$\scriptstyle10$}
\uput[180](9.75,0.01){$\scriptstyle0$}
\end{pspicture*}

\end{document}

Herbert