I am trying to plot a function using tikz. Unfortunately I cannot use pgfplot because when I open the pgfplot package it collides with already existing latex drawing and plot codes used with tikz. Here is the code,
\begin{tikzpicture}
\draw[->] (-3,0) -- (4.2,0) node[right] {$x$};
\draw[->] (0,-3) -- (0,4.2) node[above] {$y$};
\draw[scale=0.7,domain=-3:3,smooth,variable=\x,blue] plot ({\x}, {1/(1+exp((-\x)/0.6))});
\end{tikzpicture}
When I want to sharpen the step of the curve, I just decrease the number 0.6 to 0.2 or whatever. However, when I set this function with 0.2, I am getting error message that dimension too large. Is it possible to fix it with tikz?


