M

Chiudi

Grafici con Tikz numero 6 (grafici di geometria analitica)

Immagini matematica

Home » Grafici con Tikz numero 6 (grafici di geometria analitica)


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}[
xtick = \empty,
axis equal image,
ytick = \empty,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -10,
xmax =10,
ymin = -10,
ymax = 10,
xlabel = {$x$},
ylabel = {$y$},
extra x ticks = {0},
extra x tick label = {$\hspace{-0.6cm}0$},
y label style={anchor=north east}
] \draw[very thick,color=CornflowerBlue] (axis cs:4,-3) circle[radius=50];
\addplot[mark=*] coordinates {(4,-3)} node[below] {$C$};
\end{axis}
\end{tikzpicture}

seconda figura

Rendered by QuickLaTeX.com

codice seconda figura

\begin{tikzpicture}
\begin{axis}[
xtick = \empty,
axis equal image,
ytick = \empty,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -10,
xmax =15,
ymin = -10,
ymax = 10,
xlabel = {$x$},
ylabel = {$y$},
extra x ticks = {0},
extra x tick label = {$\hspace{-0.6cm}0$},
y label style={anchor=north east}
] \draw[very thick,color=CornflowerBlue] (axis cs:4,-3) circle[radius=50];
\addplot[mark=*] coordinates {(4,-3)} node[above] {$C$};
\addplot[mark=*] coordinates {(7,-7)} node[above] {$P$};
\addplot[very thick,samples=100,domain=-6:12,
green] {-x};
\end{axis}
\end{tikzpicture}

terza figura

Rendered by QuickLaTeX.com

codice terza figura

\begin{tikzpicture}
\begin{axis}[
xtick = \empty,
axis equal image,
ytick = \empty,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -1,
xmax =20,
ymin = -18,
ymax = 5,
xlabel = {$x$},
ylabel = {$y$},
extra x ticks = {0},
extra x tick label = {$\hspace{-0.6cm}0$},
y label style={anchor=north east}
] \draw[very thick,color=CornflowerBlue] (axis cs:4,-3) circle[radius=50];
\addplot[mark=*] coordinates {(4,-3)} node[above] {$C$};
\addplot[mark=*] coordinates {(7,-7)} node[above] {$P$};
\addplot[very thick,samples=100,domain=-6:12,
green] {-x};
\addplot[very thick,samples=100,domain=-6:18,
red] {x-14};
\addplot[mark=*] coordinates {(0,-14)} node[above] {$Q$};
\end{axis}
\end{tikzpicture}

quarta figura

Rendered by QuickLaTeX.com

codice quarta figura

\begin{tikzpicture}
\begin{axis}[
xtick = \empty,
axis equal image,
ytick = \empty,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -2,
xmax =20,
ymin = -18,
ymax = 5,
xlabel = {$x$},
ylabel = {$y$},
extra x ticks = {0},
extra x tick label = {$\hspace{-0.6cm}0$},
y label style={anchor=north east}
] \draw[very thick,color=CornflowerBlue] (axis cs:4,-3) circle[radius=50];
\addplot[mark=*] coordinates {(4,-3)} node[above] {$C$};
\addplot[mark=*] coordinates {(7,-7)} node[above] {$P$};
\addplot[very thick,samples=100,domain=-6:18,
green] {-x};
\addplot[very thick,samples=100,domain=-6:18,
red] {x-14};
\addplot[mark=*] coordinates {(0,-14)} node[above left] {$Q$};
\addplot[very thick,samples=100,domain=-6:18] {-14};
\addplot[mark=*] coordinates {(14,-14)} node[above right] {$R$};
\end{axis}
\end{tikzpicture}

quinta figura

Rendered by QuickLaTeX.com

codide quinta figura

\begin{tikzpicture}
\begin{axis}[
xtick = \empty,
axis equal image,
ytick = \empty,
axis equal image,
axis x line=center,
axis y line=center,
xmin = -3,
xmax =20,
ymin = -22,
ymax = 5,
xlabel = {$x$},
ylabel = {$y$},
extra x ticks = {0},
extra x tick label = {$\hspace{-0.6cm}0$},
y label style={anchor=north east}
]
\draw[very thick,color=CornflowerBlue] (axis cs:7,-14) circle[radius=70];
\addplot[mark=*,red,very thick] coordinates {(14,-14) (7,-7) (0,-14) (14,-14)};
\addplot[mark=*] coordinates {(14,-14)} node[above right] {$R$};
\addplot[mark=*] coordinates {(0,-14)} node[above left] {$Q$};
\addplot[mark=*] coordinates {(7,-7)} node[above] {$P$};
\addplot[mark=*] coordinates {(7,-14)} node[above] {$C^\prime$};
\end{axis}
\end{tikzpicture}

error: Il contenuto è protetto!!