Grafici con Tikz numero 22

Immagini matematica

Home » Grafici con Tikz numero 22
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
post
page


Prima figura

 

Rendered by QuickLaTeX.com

 

codice prima figura

 

\begin{tikzpicture}
\begin{axis}[
scale=2,
axis x line=center,
axis y line=center,
xmin = -1,
xmax = 4,
ymin = -2,
ymax = 3,
xlabel = {$x$},
ylabel = {$y$},
]
\addplot[very thick,samples=100,Red,domain=0:3.14159,name path=graficoseno]{0};
\addplot[very thick,samples=100,Red,domain=0:3.14159,name path=base] {sin(deg(x))};
\addplot[TealBlue!30] fill between[of=graficoseno and base, soft clip={domain=0:3.14159}];
\draw (axis cs:1.3,0.5) node[rotate=0] [MidnightBlue]{$A^\circ$};
\draw (axis cs:2.7,0.7) node[rotate=0] [red]{$\partial A$};
\addplot[mark=*,red] coordinates {(0,0)} node[below left,red] {$O$};
\addplot[mark=*,red] coordinates {(3.14159,0)} node[below right] {$\pi$};
\end{axis}
\end{tikzpicture}

 

seconda figura

 

Rendered by QuickLaTeX.com

 

codice seconda figura

 

\begin{tikzpicture}
\begin{axis}[
scale=2,
axis x line=center,
axis y line=center,
xmin = -1,
xmax = 4,
ymin = -2,
ymax = 3,
xlabel = {$x$},
ylabel = {$y$},
]
\addplot[very thick,samples=100,Red,domain=0:3.14159,name path=graficoseno]{0};
\addplot[very thick,samples=100,Red,domain=0:3.14159,name path=base] {sin(deg(x))};
\addplot[TealBlue!30] fill between[of=graficoseno and base, soft clip={domain=0:3.14159}];
\draw (axis cs:1,0.3) node[rotate=0] [MidnightBlue]{$A^\circ$};
\draw (axis cs:2.7,0.7) node[rotate=0] [red]{$\partial A$};
\addplot[mark=*,red] coordinates {(0,0)} node[below left,red] {$P_1$};
\addplot[mark=*,red] coordinates {(3.14159,0)} node[below right] {$P_2$};
\addplot[mark=*,red] coordinates {(1.0472,0.866)} node[above left] {$P_3$};
\addplot[mark=*,red] coordinates {(2.0944,0.866)} node[above right] {$P_4$};
\addplot[mark=*, MidnightBlue] coordinates {(1.57079,0.5)} node[below left] {$P_0$};
\end{axis}
\end{tikzpicture}

 

terza figura

 

Rendered by QuickLaTeX.com

 

codice terza figura

 

\begin{tikzpicture}
\begin{axis}[
width = 0.7\textwidth,
height = 0.7\textwidth,
xtick = \empty,
ytick = \empty,
axis on top,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -4,
xmax = 4,
ymin = -4,
ymax = 4,
xlabel = {$x$},
ylabel = {$y$},
extra x tick label = {$\hspace{0.4cm}O$},
disabledatascaling,
]
\draw[fill=red] (axis cs:0,0) circle [radius=3];
\draw (axis cs:1,0.55) node[rotate=0] {$A^\circ$};
\addplot[mark=*,very thick,NavyBlue] coordinates { (-1,2)}node[below left]{$P_1=(-1,2)$};

\addplot[very thick,samples=100,domain=3:-3,Cerulean,,name path=retta 1] {-2*x};
\addplot[very thick,samples=100,domain=3.5:-3.5,Cerulean,,name path=retta 2] {-x/2+3/2};
\draw (axis cs:2.5,-2.5) node[NavyBlue] {$y=-2x$};
\draw (axis cs:1.7,1.5) node[NavyBlue] {$y=-\dfrac{x}{2}+\dfrac{3}{2}$};
\end{axis}
\end{tikzpicture}

 

quarta figura

 

Rendered by QuickLaTeX.com

 

codice quarta figura

 

\begin{tikzpicture}
\begin{axis}[
width = 0.7\textwidth,
height = 0.7\textwidth,
xtick = \empty,
ytick = \empty,
axis on top,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -4,
xmax = 4,
ymin = -4,
ymax = 4,
xlabel = {$x$},
ylabel = {$y$},
extra x tick label = {$\hspace{0.4cm}O$},
disabledatascaling,
]
\draw[thick, red, fill=red] (axis cs:0,0) circle [radius=3];
\draw (axis cs:1,0.55) node[rotate=0] {$A^\circ$};
\addplot[mark=*,very thick,NavyBlue] coordinates { (-1,2)}node[below]{$P_1=(-1,2)$};
\addplot[mark=*,very thick,Violet] coordinates { (3,0)}node[below]{$P_2=(3,0)$};
\addplot[mark=*,very thick,Violet] coordinates { (-1.5,2.598)}node[above left]{$P_3=\left(-\dfrac{3}{2},\dfrac{3\sqrt{3}}{2}\right)$};
\addplot[mark=*,very thick,Violet] coordinates { (-1.5,-2.598)}node[below left]{$P_4=\left(-\dfrac{3}{2},-\dfrac{3\sqrt{3}}{2}\right)$};

\end{axis}
\end{tikzpicture}

 

quinta figura

 

Rendered by QuickLaTeX.com

 

codice quinta figura

 

\begin{tikzpicture}
\begin{axis}[
width = 0.7\textwidth,
height = 0.7\textwidth,
xtick = \empty,
ytick = \empty,
axis on top ,
xtick = \empty,
ytick = \empty,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -6,
xmax = 6,
ymin = -4,
ymax = 7,
xlabel = {$x$},
ylabel = {$y$},
extra x tick label = {$\hspace{0.4cm}0$},
y label style={anchor=north east}
]
\addplot[mark=*,very thick,Orchid] coordinates { (0,0) (3,3) (3,-3) (0,0)};
\addplot[mark=*,Orchid] coordinates {(3,-3)} node[below right] {$B$};
\addplot[mark=*,Orchid] coordinates {(0,0)} node[below left] {$O$};
\addplot[mark=*,Orchid] coordinates {(3,3)} node[above right] {$C$};
\addplot[very thick,dashed,samples=100,domain=0:3,Orchid,,name path=retta 1] {x};
\addplot[very thick,dashed,samples=100,domain=0:3,Orchid,,name path=retta 2] {-x};
\addplot[red] fill between[of=retta 1 and retta 2, soft clip={domain=0:3}];
\draw (axis cs:1.4,1.9) node[rotate=0] [Orchid]{$\partial A$};
\draw (axis cs:2,-0.4) node[rotate=0] [BlueViolet]{$A^\circ$};
\end{axis}
\end{tikzpicture}