[pstricks] PSTricks Digest, Vol 180, Issue 8

Germain Boyer germain.boyer at ac-toulouse.fr
Wed Feb 28 20:38:47 CET 2018


Hello Herbert !

Thanks. Sorry i am tired.

I have identify the problem for the second picture.

\documentclass[a4paper,french,11pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{pstricks-add}
\renewcommand*{\pshlabel}[1]{$#1$}
\renewcommand*{\psvlabel}[1]{$#1$}
\usepackage[french]{babel}

\begin{document}

\psset{xunit=0.8cm,yunit=25cm,ticksize=-4pt 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[algebraic,plotpoints=100]{1}{19}{\f}
\pscustom[algebraic,fillstyle=solid,fillcolor=lightgray]{%
		\psplot{1}{8}{\f}
		\psline(8,0)(1,0)
}%
\psaxes[comma,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}

Only x labels are \scriptstyle .

If i put %\renewcommand*{\psvlabel}[1]{$#1$} then y labels are also
\scriptstyle .

In my mind :
\renewcommand*{\pshlabel}[1]{$#1$}
\renewcommand*{\psvlabel}[1]{$#1$}
do nothing.

Is it true ?

Is it possible to correct this ?

I want to have \renewcommand*{\psvlabel}[1]{\vspace*{-0.5mm}$#1$}
and y labels in \scriptyle.

If i put for example \renewcommand*{\pshlabel}[1]{\hspace*{2mm}$#1$}
to try then all works good.

Thanks for your answer.

Germain
 



More information about the PSTricks mailing list