8 Novembre 2014 alle 17:13
#97093
::
lorenzo.pantieri” post=97716Come faccio per avere un asintoto verticale fatto come si deve?
`\begin{tikzpicture}[font=\small]
\begin{axis} [width=0.5\textwidth,
xmin=-5,xmax=5,ymin=-5,ymax=5,
axis lines=middle,
xtick=\empty,
ytick=\empty,
xlabel=$x$,
ylabel=$y$]
\draw [dashed] (1,-5) — (1,5);
\addplot [domain=1.1:5,samples=50,smooth] {1/(2*x-2)};
\addplot [domain=-5:0.9,samples=50,smooth] {1/(2*x-2)};
\end{axis}
\end{tikzpicture}`