divergence-2

Edit and compile if you like:

\documentclass{standalone}

\usepackage{pgfplots}
\pgfplotsset{compat=newest}

\begin{document}
\begin{tikzpicture}
  \begin{axis}[
      xlabel = $z$,
      smooth,thick,
      axis lines = center,
      every tick/.style = {thick},
      legend pos=north west]

    \addplot[color=blue,domain=0:1.1,samples=150]{-ln(1-x)};
    \legend{$-\ln(1 - z)$}

  \end{axis}
\end{tikzpicture}
\end{document}

Click to download: divergence-2.tex
Open in Overleaf: divergence-2.tex
This file is available on tikz.netlify.app and on GitHub and is MIT licensed.
See more on the author page of Janosh Riebesell..

Leave a Reply

Your email address will not be published.