tikz で累積正規分布をプロットする

tikz で累積正規分布をプロットする

私はジェイクを追おうとしたTikZ-PGF でベル型曲線をプロットする若干の変更を加えます。

1) カットオフに赤い破線が付いた単変量正規分布の CDF が欲しいのですが、破線が不自然に見えます。

2) なぜ y 軸ラベルは y 軸に沿ってではなく、図の中央にあるのですか?

\documentclass{article}
\usepackage{pgfplots}
\begin{document}

\pgfmathdeclarefunction{gauss}{2}{%
  \pgfmathparse{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}%
}

    \begin{tikzpicture}
    \begin{axis}[
      no markers, domain=-4:4, samples=100,
      axis lines*=left, xlabel=$x$, ylabel=$y$,
      every axis y label/.style={at=(current axis.above origin),anchor=south},
      every axis x label/.style={at=(current axis.right of origin),anchor=west},
      height=4cm, width=7cm,
      xtick={-3,-2,-1,0,1,2,3}, ytick=\empty,
      enlargelimits=false, clip=false, axis on top,
      grid = none
      ]
       \draw[dashed, red, thick] (axis description cs: 1.32,0) -- (axis description cs:1.32, 1);
      \addplot [fill=cyan!20, draw=none, domain=-4:1.32] {gauss(0,1)} \closedcycle;
      \addplot [very thick,cyan!50!black] {gauss(0,1)};
    \end{axis}

    \end{tikzpicture}
\end{document}

ここに画像の説明を入力してください

関連情報