Last active
May 12, 2017 18:27
-
-
Save dfbarrero/0543623a566f56e2df42ecd681681b8f to your computer and use it in GitHub Desktop.
Example of how to graph a symbolic expression with LaTeX and Tikz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \documentclass{article} | |
| \usepackage{tikz} | |
| \usepackage{pgfplots} | |
| \begin{document} | |
| \begin{tikzpicture} | |
| \begin{axis}[ | |
| xlabel=$x$, | |
| ylabel={$g(x) = \frac{1}{1+e^{-x}}$} | |
| ] | |
| \addplot[mark=none] {1/(1+e^(-x))}; | |
| \end{axis} | |
| \end{tikzpicture} | |
| \end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment