81 lines
1.7 KiB
TeX
81 lines
1.7 KiB
TeX
\documentclass{beamer}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage{polski}
|
|
\author[Anna Karatkiewicz]{Anna Karatkiewicz}
|
|
\title {rysunki}
|
|
\date{10.11.2017r}
|
|
\usetheme{Warsaw}
|
|
\usecolortheme{seahorse}
|
|
\useoutertheme{infolines}
|
|
\useinnertheme{circles}
|
|
\usepackage{tikz}
|
|
\usepackage{pgfplots}
|
|
\begin{document}
|
|
\begin{titlepage}
|
|
\end{titlepage}
|
|
\begin{frame}{zadanie1}
|
|
\begin{figure}
|
|
\begin{tikzpicture}
|
|
\begin{axis}[
|
|
axis x line = center,
|
|
axis y line = center,
|
|
xtick ={-5 ,-4,...,5},
|
|
ytick ={-5 ,-4,...,5},
|
|
xlabel ={$x$},
|
|
ylabel ={$y$},
|
|
xlabel style ={ below right },
|
|
ylabel style ={ right },
|
|
xmin = -5.5,
|
|
xmax =5.5,
|
|
ymin = -5.5,
|
|
ymax =5.5,
|
|
title ={$x^2-2x+3$}
|
|
]
|
|
\addplot [mark =none , samples =50 ,
|
|
olive , line width =3.0 pt]{x*x-2*x+3};
|
|
\end{axis}
|
|
\end{tikzpicture}
|
|
\end{figure}
|
|
\end{frame}
|
|
\begin{frame}{zadanie2}
|
|
\begin{figure}
|
|
\begin{tikzpicture}
|
|
\begin {axis}
|
|
[title ={cos(2x)}]
|
|
\addplot [ mark =none , samples =100 ,
|
|
magenta , line width =2.0 pt ]{cos(deg(2*x))};
|
|
\end{axis}
|
|
\end{tikzpicture}
|
|
\end{figure}
|
|
\end{frame}
|
|
\begin{frame}{zadanie3}
|
|
\begin{figure}
|
|
\begin{tikzpicture}
|
|
\begin {axis}
|
|
[title ={$sin(\dfrac{x}{2})$}]
|
|
\addplot [ mark =none , samples =500 ,
|
|
cyan , line width =2.0 pt ]{sin(deg(x/2))};
|
|
\end{axis}
|
|
\end{tikzpicture}
|
|
\end{figure}
|
|
\end{frame}
|
|
\begin{frame}{zadanie4}
|
|
\begin{figure}
|
|
\begin{tikzpicture}
|
|
\begin{axis}[colorbar, title={$x^2+y^2$}]
|
|
\addplot3[surf,domain =0:360,samples =50]{x*x+y*y};
|
|
\end{axis}
|
|
\end{tikzpicture}
|
|
\end{figure}
|
|
\end{frame}
|
|
|
|
\begin{frame}{zadanie5}
|
|
\begin{figure}
|
|
\begin{tikzpicture}
|
|
\begin{axis}[colorbar, title={$x^2-y^2+2xy^2+1$}]
|
|
\addplot3[surf,domain =0:360,samples =50]{x*x+y*y-2*x*y*y+1};
|
|
\end{axis}
|
|
\end{tikzpicture}
|
|
\end{figure}
|
|
\end{frame}
|
|
\end{document} |