# How to Draw 2 Functions In Tex

I am aiming to plot a quadratic function and a s-curve as drawn here however I have not been able to get the lines to match up. Please assist if you could!

\begin{tikzpicture}
\begin{axis}[grid=both,
xmax=10,ymax=10]
\end{axis}
\end{tikzpicture}

• what are the functions – percusse Apr 12 '18 at 10:28
• Please provide the code you are using now, a MWE – arauzo Apr 12 '18 at 10:47
• @Oscar you also can take a look here: tex.stackexchange.com/q/426208/120578 because this post made me to write that question-answer (It will possibly help you to your other question too) – koleygr Apr 12 '18 at 15:43

Perhaps something like this?

\documentclass[border = 5pt]{standalone}

\usepackage{pgfplots}

\begin{document}

\begin{tikzpicture}
\begin{axis}[grid=both,
domain=0:2,
samples=100,
]
\addplot[blue,]  {1/(1 + exp(-4 * (x - 1)))};
\end{axis}
\end{tikzpicture}

\end{document}