10 Maggio 2012 alle 8:54
#72711
::
Grazie mille ragazzi! Ho trovato che “enlarge y limits” non funziona, mentre “clip=false” sì. Provare per credere:
`\begin{tikzpicture}
\begin{axis}[
enlarge y limits,
axis lines=middle]
\addplot [
domain=0:2*pi,
samples=40,
smooth,
thick,
color=blue
]
{sin(deg(x))};
\end{axis}
\end{tikzpicture}`
`\begin{tikzpicture}
\begin{axis}[
clip=false,
axis lines=middle]
\addplot [
domain=0:2*pi,
samples=40,
smooth,
thick,
color=blue
]
{sin(deg(x))};
\end{axis}
\end{tikzpicture}`
Domanda: esiste un’opzione per far sì che la curva non vada a sbattere sulla freccia delle x?
Grazie,
L.