Grafici con Tikz numero 7 (grafici di geometria analitica)

Immagini matematica

Home » Grafici con Tikz numero 7 (grafici di geometria analitica)
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
post
page


Prima di ogni figura ricordare di mettere

\documentclass[usenames,dvipsnames]{article}
\usepackage{pgfplots}

Prima figura

Rendered by QuickLaTeX.com

codice prima 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 = -3.5,
xmax = 3.5,
ymin = -3.5,
ymax = 3.5,
xlabel = {$x$},
ylabel = {$y$},
ylabel style={anchor=north east},
extra x ticks = {0},
extra x tick label = {$\hspace{0.4cm}O$},
disabledatascaling,
]
\draw[thick,red,fill=YellowOrange] (axis cs:0,0) ellipse [x radius=2, y radius=1,rotate=180];
\addplot[mark=*] coordinates {(2,0)} node[below right] {$(2,0)$};
\addplot[mark=*] coordinates {(-2,0)} node[below left] {$(-2,0)$};
\addplot[mark=*] coordinates {(0,1)} node[above right] {$(0,1)$};
\addplot[mark=*] coordinates {(0,-1)} node[below right] {$(-1,0)$};
\end{axis}
\end{tikzpicture}

seconda figura

Rendered by QuickLaTeX.com

codice 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 = -3.5,
xmax = 4.5,
ymin = -3.5,
ymax = 3.5,
xlabel = {$x$},
ylabel = {$y$},
ylabel style={anchor=north east},
extra x ticks = {0},
extra x tick label = {$\hspace{0.4cm}O$},
disabledatascaling,
]
\addplot[mark=*,red] coordinates {(0,0) (-1,{sqrt(3)/2})};
\addplot[mark=*,red] coordinates {(0,0) (-1,- {sqrt(3)/2})};
\addplot[mark=*,red] coordinates {(0,0) (-2,0)};
\addplot[mark=*,red] coordinates {(0,0) (2,0)};
\draw[thick,red] (axis cs:0,0) ellipse [x radius=2, y radius=1,rotate=180];
\draw (axis cs:-1,1.4) node[red] {$t=\frac{2}{3}\pi$};
\draw (axis cs:-1,-1.4) node[red] {$t=\frac{4}{3}\pi$};
\draw (axis cs:-2.6,0.4) node[red] {$t=\pi$};
\draw (axis cs:2.8,0.4) node[red] {$t=0,\,\pi$};
\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 = -3.5,
xmax = 4.5,
ymin = -3.5,
ymax = 3.5,
xlabel = {$x$},
ylabel = {$y$},
ylabel style={anchor=north east},
extra x ticks = {0},
extra x tick label = {$\hspace{0.4cm}O$},
disabledatascaling,
]
\addplot[mark=*,red] coordinates {(0,0) (-1,{sqrt(3)/2})};
\addplot[mark=*,red] coordinates {(0,0) (-1,- {sqrt(3)/2})};
\addplot[mark=*,red] coordinates {(0,0) (-2,0)};
\addplot[mark=*,red] coordinates {(0,0) (2,0)};
\draw[thick,red,fill=YellowOrange] (axis cs:0,0) ellipse [x radius=2, y radius=1,rotate=180];
\draw (axis cs:-1,1.4) node[red] {$t=\frac{2}{3}\pi$};
\draw (axis cs:-1,-1.4) node[red] {$t=\frac{4}{3}\pi$};
\draw (axis cs:-2.6,0.4) node[red] {$t=\pi$};
\draw (axis cs:2.8,0.4) node[red] {$t=0,\,\pi$};
\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,
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 ticks = {0},
extra x tick label = {$\hspace{0.4cm}0$},
y label style={anchor=north east}
]
\addplot[mark=*,very thick,red] coordinates { (-1,-1) (-1,4) (1.5,-1)(-1,-1)};
\addplot[mark=*] coordinates {(-1,-1)} node[below left] {$B=(-1,-1)$};
\addplot[mark=*] coordinates {(-1,4)} node[below left] {$A=(-1,4)$};
\addplot[mark=*] coordinates {(1.5,-1)} node[below right] {$\,\,C=(1.5,-1)$};
\addplot[very thick,dashed,samples=100,domain=3:-3,red,,name path=retta 1] {-2*x+2};
\addplot[very thick,samples=100,domain=3:-3,red,dashed,,name path=retta 2] {-1};
\addplot[very thick,red,dashed] coordinates { (-1,4) (-1,6)};
\addplot[very thick,red,dashed] coordinates { (-1,-1) (-1,-5)};
\addplot[TealBlue!30] fill between[of=retta 1 and retta 2, soft clip={domain=-1:1.5}];
\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 ticks = {0},
extra x tick label = {$\hspace{0.4cm}0$},
y label style={anchor=north east}
]
\addplot[mark=*,very thick,red] coordinates { (-1,-1) (-1,4) (1.5,-1)(-1,-1)};
\draw (axis cs:0.9,1.6) node[rotate=0] {$L_2$};
\draw (axis cs:-1.5 ,1.4) node[rotate=0] {$L_3$};
\draw (axis cs:0.4,-1.6) node[rotate=0] {$L_1$};
\end{axis}
\end{tikzpicture}

sesta figura

Rendered by QuickLaTeX.com

codice sesta 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,red] coordinates { (-1,-1) (-1,4) (1.5,-1)(-1,-1)};
\addplot[mark=*] coordinates {(-1,-1)} node[below left] {$B$};
\addplot[mark=*] coordinates {(-1,4)} node[below left] {$A$};
\addplot[mark=*] coordinates {(1.5,-1)} node[below right] {$C$};
\addplot[very thick,dashed,samples=100,domain=-1:1,red,,name path=retta 1] {-2*x+2};
\addplot[very thick,samples=100,domain=-1:1.5,red,dashed,,name path=retta 2] {-1};
\addplot[TealBlue!30] fill between[of=retta 1 and retta 2, soft clip={domain=-1:1.5}];
\addplot[mark=*] coordinates {(0,1)} node[below left] {$P_1$};
\addplot[mark=*] coordinates {(0.5,-1)} node[below right] {$P_2$};
\end{axis}
\end{tikzpicture}

settima figura

Rendered by QuickLaTeX.com

codice settima 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 = -2,
xmax = 2,
ymin = -2,
ymax = 2,
xlabel = {$x$},
ylabel = {$y$},
extra x tick label = {$\hspace{0.4cm}O$},
disabledatascaling,
]
\draw[thick,red,fill=YellowOrange] (axis cs:0,0) ellipse [x radius={1/sqrt(2)}, y radius=1,rotate=180];
\addplot[mark=*] coordinates {({1/sqrt(2)},0)} node[below right] {$(\frac{1}{\sqrt{2}},0)$};
\addplot[mark=*] coordinates {(-{1/sqrt(2)},0)} node[below left] {$(-\frac{1}{\sqrt{2}},0)$};
\addplot[mark=*] coordinates {(0,1)} node[above right] {$(0,1)$};
\addplot[mark=*] coordinates {(0,-1)} node[below right] {$(-1,0)$};
\draw (axis cs:0.3,0.25) node[rotate=0] {$A^\circ$};
\draw (axis cs:1,0.4) node[rotate=0] {$\partial A$};
\end{axis}
\end{tikzpicture}