Grafici con Tikz numero 4 (grafici di geometria analitica)

Immagini matematica

Home » Grafici con Tikz numero 4 (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{center}\begin{tikzpicture}
\begin{axis}[
axis x line=center,
axis y line=center,
xmin = -9.95,
xmax = 9.95,
ymin = -9.95,
ymax = 9.95,
xlabel = {$x$},
ylabel = {$y$},
extra x ticks = {0},
extra x tick label = {$\hspace{-0.6cm}0$},
y label style={anchor=north east}
]
\addplot[very thick,samples=100,domain=12:-12,red] {4/3*x};
\end{axis}
\end{tikzpicture}\end{center}

 

seconda figura

 

Rendered by QuickLaTeX.com

 

codice seconda figura

 

\begin{center}\begin{tikzpicture}
\begin{axis}[
axis equal image,
axis x line=center,
axis y line=center,
xmin = -9.95,
xmax = 9.95,
ymin = -9.95,
ymax = 9.95,
xlabel = {$x$},
ylabel = {$y$},
extra x ticks = {0},
extra x tick label = {$\hspace{-0.6cm}0$},
y label style={anchor=north east}
]

\addplot[very thick,samples=100,domain=12:-12,red] {4/3*x+5};
\addplot[very thick,samples=100,domain=12:-12,red] {4/3*x-5};
\addplot[very thick,samples=100,domain=12:-12,red] {4/3*x};
\addplot[mark=*] coordinates {(0,-5)} node[below right] {$A$};
\addplot[mark=*] coordinates {(0,5)} node[below right] {$B$};
\end{axis}
\end{tikzpicture}\end{center}

 

terza figura

 

Rendered by QuickLaTeX.com

 

codice terza figura

 

\begin{center}\begin{tikzpicture}
\begin{axis}[
axis equal image,
axis x line=center,
axis y line=center,
xmin = -12,
xmax = 12,
ymin = -16,
ymax = 16,
xlabel = {$x$},
ylabel = {$y$},
extra x ticks = {0},
extra x tick label = {$\hspace{-0.6cm}0$},
y label style={anchor=north east}
]

\addplot[mark=*,very thick,red] coordinates {(0,-5) (0,5) (-6,-3) (-6,-13) (0,-5)};
\addplot[mark=*] coordinates {(0,-5)} node[below right] {$B$};
\addplot[mark=*] coordinates {(-6,-3)} node[below left] {$Q''$};
\addplot[mark=*] coordinates {(0,5)} node[above right] {$A$};
\addplot[mark=*] coordinates {(-6,-13)} node[below right] {$R''$};
\end{axis}
\end{tikzpicture}\end{center}

 

quarta figura

 

Rendered by QuickLaTeX.com

 

codice quarta figura

 

\begin{center}\begin{tikzpicture}
\begin{axis}[
axis equal image,
axis x line=center,
axis y line=center,
xmin = -12,
xmax = 12,
ymin = -16,
ymax = 16,
xlabel = {$x$},
ylabel = {$y$},
extra x ticks = {0},
extra x tick label = {$\hspace{-0.6cm}0$},
y label style={anchor=north east}
]

\addplot[mark=*,very thick,red] coordinates {(0,-5) (0,5) (6,13) (6,3) (0,-5)};
\addplot[mark=*] coordinates {(0,-5)} node[below left] {$B$};
\addplot[mark=*] coordinates {(6,3)} node[below right] {$Q'$};
\addplot[mark=*] coordinates {(0,5)} node[above left] {$A$};
\addplot[mark=*] coordinates {(6,13)} node[below right] {$R'$};
\end{axis}
\end{tikzpicture}\end{center}