diff --git a/05/wykresy.pdf b/05/wykresy.pdf index ce2b47c..f506b95 100644 Binary files a/05/wykresy.pdf and b/05/wykresy.pdf differ diff --git a/05/wykresy.tex b/05/wykresy.tex index 35113ba..4291271 100644 --- a/05/wykresy.tex +++ b/05/wykresy.tex @@ -77,10 +77,26 @@ title ={ $\sin(\frac{1}{x})$ } \addplot 3[surf,domain =-10:10, samples =50]{x*x-y*y + 2*x*y*y+1}; \end{axis} \end{tikzpicture} - %\( x\mapsto \cos 2x\) - %\( x\mapsto\sin \tfrac{1}{x}\) - %\( (x,y)\mapsto x^2+y^2\) - %\((x,y)\mapsto x^2−y^2 + 2 x y ^2+1\) z wykorzystaniem omówionych - % podczas prezentacji możliwości. Narysować wykres funkcji \(x\mapsto - % x^2-1\) z wykorzystaniem stablicowanych danych. + +\begin{tikzpicture} +\begin{axis}[ +axis x line=center , +axis y line=center , +xtick ={-5,-4,...,8}, +ytick ={-5,-4,...,8}, +xlabel ={$x$}, +ylabel ={$y$}, +xlabel style ={below right}, +ylabel style ={right}, +xmin=-5, +xmax =5, +ymin=-2, +ymax =8, +title={$x^2-1$} +] +\addplot[line width=1pt] gnuplot [raw gnuplot]{plot 'wykresik.dat' using 1:2 +}; +\end{axis} +\end{tikzpicture} + \end{document}