a

Menu

M

Chiudi

Tikz – esempio 21

Immagini matematica

Home » Tikz – esempio 21

Tikz – esempio 21

Benvenuti nel nostro esempio 21 di utilizzo del pacchetto Tikz, una risorsa utilissima del linguaggio \LaTeX per comporre immagini di altissima qualità. In questo articolo proponiamo un esempio di utilizzo. Segnaliamo anche il precedente Tikz – esempio 20 e il successivo Tikz – esempio 22 per ulteriore materiale.

Buona lettura!

 

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 seconda 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,\,2\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=*,blue] coordinates {(0,0) (-0.25,0)};
\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:-0.25,-0.25) node[blue] {$P_1$};
\draw (axis cs:-1,1.4) node[red] {$P_4$};
\draw (axis cs:-1,-1.4) node[red] {$P_5$};
\draw (axis cs:-2.6,0.4) node[red] {$P_3$};
\draw (axis cs:2.8,0.4) node[red] {$P_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,
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=\left(\dfrac{3}{2},-1\right)$};
\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}];
\draw (axis cs:-2,-2.5) node[red] {$x=-1$};
\draw (axis cs:1.5,-3.5) node[red] {$y=-2x+2$};
\draw (axis cs:2.4,-0.7) node[red] {$y=-1$};
\draw (axis cs:1.4,1.4) node[rotate=0] [red]{$\partial E$};
\draw (axis cs:-0.3,0.4) node[rotate=0] [BlueViolet]{$E^\circ$};
\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,
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=Lavender] (axis cs:0,0) circle [radius=2];
\addplot[mark=*] coordinates {(2,0)} node[below right] {$(2,0)$};
\addplot[mark=*] coordinates {(-2,0)} node[below left] {$(-2,0)$};
\addplot[mark=*] coordinates {(0,2)} node[above right] {$(0,2)$};
\addplot[mark=*] coordinates {(0,-2)} node[below right] {$(0,-2)$};
\draw (axis cs:0.3,0.25) node[rotate=0] {$A^\circ$};
\draw (axis cs:2.3,1.4) node[rotate=0] [red]{$\partial A$};
\end{axis}
\end{tikzpicture}

 
 

Risorse didattiche aggiuntive per approfondire la matematica

Leggi...

  • Math Stack Exchange – Parte della rete Stack Exchange, questo sito è un forum di domande e risposte specificamente dedicato alla matematica. È una delle piattaforme più popolari per discutere e risolvere problemi matematici di vario livello, dall’elementare all’avanzato.
  • Art of Problem Solving (AoPS) – Questo sito è molto noto tra gli studenti di matematica di livello avanzato e i partecipanti a competizioni matematiche. Offre forum, corsi online, e risorse educative su una vasta gamma di argomenti.
  • MathOverflow – Questo sito è destinato a matematici professionisti e ricercatori. È una piattaforma per domande di ricerca avanzata in matematica. È strettamente legato a Math Stack Exchange ma è orientato a un pubblico con una formazione più avanzata.
  • PlanetMath – Una comunità collaborativa di matematici che crea e cura articoli enciclopedici e altre risorse di matematica. È simile a Wikipedia, ma focalizzata esclusivamente sulla matematica.
  • Wolfram MathWorld – Una delle risorse online più complete per la matematica. Contiene migliaia di articoli su argomenti di matematica, creati e curati da esperti. Sebbene non sia un forum, è una risorsa eccellente per la teoria matematica.
  • The Math Forum – Un sito storico che offre un’ampia gamma di risorse, inclusi forum di discussione, articoli e risorse educative. Sebbene alcune parti del sito siano state integrate con altri servizi, come NCTM, rimane una risorsa preziosa per la comunità educativa.
  • Stack Overflow (sezione matematica) – Sebbene Stack Overflow sia principalmente noto per la programmazione, ci sono anche discussioni rilevanti di matematica applicata, specialmente nel contesto della scienza dei dati, statistica, e algoritmi.
  • Reddit (r/Math) – Un subreddit popolare dove si possono trovare discussioni su una vasta gamma di argomenti matematici. È meno formale rispetto ai siti di domande e risposte come Math Stack Exchange, ma ha una comunità attiva e molte discussioni interessanti.
  • Brilliant.org – Offre corsi interattivi e problemi di matematica e scienza. È particolarmente utile per chi vuole allenare le proprie capacità di problem solving in matematica.
  • Khan Academy – Una risorsa educativa globale con lezioni video, esercizi interattivi e articoli su una vasta gamma di argomenti di matematica, dalla scuola elementare all’università.






Document









Document