AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[11pt, margin=1cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{math}
\begin{document}
\tikzmath{ real \a; \a=60; }
\begin{tikzpicture}[scale=2.5, every node/.style={scale=.9}]
\draw[step=.5, gray!80!blue!40, very thin] (-1.4, -1.4) grid (1.4, 1.4);
\draw[gray, thin, ->] (-1.5, 0) -- (1.5, 0) coordinate (x axis);
\draw[gray, thin, ->] (0, -1.5) -- (0, 1.5) coordinate (y axis);
\foreach \x/\pos/\xtext in {-1/below left/-1,
-.5/below left/-\frac{1}{2}, 1/below right/1}{
\draw[thick] (\x , 1pt) -- ++(0, -2pt) node[\pos] {$\xtext$};
}
\foreach \y/\pos/\ytext in {-1/below left/-1,
.5/above left/\frac{1}{2}, 1/above left/1}{
\draw[thick] (1pt, \y) -- ++(-2pt, 0) node[\pos] {$\ytext$};
}
\draw[thin] (0, 0) circle (1);
\filldraw[draw=green!50!black, fill=green!20]
(0, 0) -- (.3, 0) arc (0: \a: .3)
node[pos=.5, anchor=south west, green!50!black, inner sep=2pt]
{$\alpha$} -- cycle;
\draw[very thick, red]
(\a:1) -- (\a:1 |- x axis) node[pos=.5, anchor=west] {$\sin\alpha$} ;
\draw[very thick, blue]
(0, 0) -- (\a:1 |- x axis) node[pos=.5, anchor=north] {$\cos\alpha$};
\draw[thick]
(0, 0) -- (intersection of 0, 0--\a:1 and 1, 0--1, 1) coordinate (T);
\draw[very thick, magenta]
(1, 0) -- (T) node [pos=.5, anchor=west] {$\tan\alpha \color{black}=
\frac{{\color{red}\sin\alpha}}{\color{blue}\cos\alpha}$};
\path (2, .9)
node[anchor=north west, align=left, text width=6.1cm]
{The {\color{green!50!black}angle} $\alpha$ is $60^{\circ}$ in the
example ($\frac{\pi}{3}$ in radians). \\
The {\color{blue}cosine of} $\alpha$, which is the length of the
blue line, is ${\color{blue}\cos\alpha}=\frac{1}{2}$. \\
By Pythagoras' Theorem,
${\color{blue}\cos^2\alpha}+{\color{red}\sin^2\alpha}=1$. Thus the
length of the red line, which is {\color{red}sine of} $\alpha$,
equals
${\color{red}\sin\alpha}=\sqrt{1-\frac{1}{4}}=\frac{\sqrt{3}}{2}$. \\
Hence $\color{magenta}\tan\alpha$, which is the length of the
magenta line, equals
$\frac{\color{red}\sin\alpha}{\color{blue}\cos\alpha}=\sqrt{3}$.
};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw(0,0)to[Tr,n=TRI](2,0)to[pR,n=POT](4,0);
\draw[dashed](TRI.G)-|(POT.wiper);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[
bigR/.style={R, resistors/scale=1.8}
]
\draw (0,3) to [bigR, o-o] ++(4,0);
\draw (0,1.5) to [bigR, o-o] ++(4,0)
to[R, o-o] ++(2,0);
\draw (0,0) to [R, o-o] ++(4,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, amsfonts, amsthm}
\usepackage{tikz}
\usetikzlibrary{calc,decorations.pathmorphing,decorations.pathreplacing,shapes,shapes.misc}
\tikzset{cross/.style={cross out, draw=black, thick, fill=none, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt}
, cross/.default={3pt}}\newcommand{\vertices}{\coordinate (base) at (0, 1);
\draw (0, 0) node[fill, circle, minimum size = 1mm, inner sep = 0]{}
;
\draw (3, 0) node[fill, circle, minimum size = 1mm, inner sep = 0]{};
\draw (0, 3) node[fill, circle, minimum size = 1mm, inner sep = 0]{};
\draw (3, 3) node[fill, circle, minimum size = 1mm, inner sep = 0]{};
}
\begin{document}
\begin{tikzpicture}[baseline=(base), scale = .3]
\vertices\draw (0, 0) -- (3, 0);
\draw (0, 0) -- (0, 3);
\draw (0, 0) to [out = -30, in = -135] (3.5, -.5) to [out = 45, in = -80] (3, 3);
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usepackage{amsmath}
\usetikzlibrary{bayesnet}
\newcommand{\program}{\rho}
\newcommand{\inputs}{X}
\newcommand{\outputs}{Y}
\begin{document}
\begin{tikzpicture}
\node[draw] (s) {$\mathcal{D}_\text{seed}$};
\node[draw, right=of s, xshift=0.3cm] (g2) {$\mathcal{G}$};
\draw[->] (s) -- node [above,midway] {\small defines} (g2);
\node[draw, right=of g2, xshift=0.3cm](t) {$\mathcal{D}_\text{tune}$};
\draw[->] (g2) -- node [above,midway] {\small samples} (t);
\node[draw, right=of t, xshift=0.2cm] (lm) {$q_\theta$};
\draw[->] (t) -- node [above,midway] {\small trains} (lm);
\node[latent, right=of lm, xshift=1.2cm] (g) {$\mathcal{G}$} ;
\node[latent, right=of g, yshift=0.6cm] (p){$\program$};
\node[obs, right=of g, yshift=-0.6cm] (x){$\inputs$};
\node[obs, right=of p, yshift=-0.6cm] (y){$\outputs$};
\edge[->] {g} {p};
\edge[->] {g} {x};
\edge[->] {p,x} {y};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\tikzstyle{every node}=[font=\small]
\node (1) at (0,0) [shape=circle,line width=1.26pt,draw,fill=yellow!75,inner sep=10pt,minimum size=10.7mm] {$K_{n-1}$};
\node (2) at (0.87,0.4) [shape=circle,draw,fill=black!75,inner sep=2.1pt,minimum size=1.2mm] {};
\node (3) at (-0.87,0.4) [shape=circle,draw,fill=black!75,inner sep=2.1pt,minimum size=1.2mm] {};
\node (4) at (0,0.97) [shape=circle,draw,fill=black!75,inner sep=2.1pt,minimum size=1.2mm] {};
\node (5) at (0,2.78) [shape=circle,draw,fill=black!75,inner sep=2.1pt,minimum size=1.2mm] {};
\node (11) at (0.23,1.1) [] {$v_1$};
\node (12) at (-1.2,0.55) [] {$v_3$};
\node (13) at (1.15,0.55) [] {$v_4$};
\node (13) at (0.33,2.7) [] {$v_2$};
\draw [black,line width=1.6pt] (5) to (2);
\draw [black,line width=1.6pt] (5) to (3);
\draw [red,line width=1.6pt] (5) to (4);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{
help lines/.style={gray,very thin},
>=stealth
}
\begin{document}
\begin{tikzpicture}[sibling distance=15mm, level distance=15mm]
\path [help lines]
node (root) {root}
[grow=-10]
child {node {1}}
child {node {2}}
child {node {3}}
child {node {4}};
\draw[|<->|,thick] (root-1.center)
-- node[above,sloped] {sibling distance} (root-2.center);
\draw[|<->|,thick] (root.center)
-- node[above,sloped] {level distance} +(-10:\tikzleveldistance);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amscd, amssymb, pgf, tikz, hyperref, mathabx}
\begin{document}
\begin{tikzpicture}[shorten >=0.4pt,>=stealth, thick]
\node[inner sep=1.0pt, circle, fill=black] (u) at (-1,-1) {};
\node[inner sep=1.0pt, circle, fill=black] (v) at (1,-1) {};
\node[inner sep=1.0pt, circle, fill=black] (w) at (-1,1) {};
\node[inner sep=1.0pt, circle, fill=black] (x) at (1,1) {};
\draw[->, blue] (v) to (u);
\draw[->, red] (u) to (w);
\draw[->, red] (v) to (x);
\draw[->, blue] (x) to (w);
\node[below] at (0,-1) {$e$};
\node[above] at (0,1) {$g\cdot e$};
\node[left] at (-1,-1) {$r(e)=d(g)$};
\node[left] at (-1,1) {$g\cdot r(e)$};
\node[left] at (-1,0) {$g$};
\node[right] at (1,-1) {$s(e)$};
\node[right] at (1,1) {$s(g\cdot e)$};
\node[right] at (1,0) {$g|_e$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{statistics}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ytick={1,2,3},
yticklabels={Group A, Group B, Group C},
boxplot/variable width,
]
\addplot+ [
boxplot prepared={
lower whisker=42, lower quartile=45,
median=47,
upper quartile=47.5, upper whisker=48,
sample size=1000,
},
] table [row sep=\\,y index=0] { 40\\ 34\\ 56\\ };
\addplot+ [
boxplot prepared={
lower whisker=36, lower quartile=39,
median=40,
upper quartile=41, upper whisker=43,
sample size=100000,
},
] coordinates {};
\addplot+ [
boxplot prepared={
lower whisker=41, lower quartile=44,
median=45,
upper quartile=46, upper whisker=47,
sample size=50000,
},
] coordinates {(0,35) (0,55)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amsfonts, amssymb, amsthm, amscd, gensymb, graphicx, comment, etoolbox, url, booktabs, stackrel, mathtools, enumitem, mathdots}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.5]
\node (2) [circle,draw=black,inner sep=2pt] at (0,0) {\small $2$};
\node (3) [circle,draw=black,inner sep=2pt] at (2,0) {\small $3$};
\node (4) at (0.75,-2) {\small \color{white} 4};
\node at (4,0) {$\longrightarrow$};
\node at (0.75,-3.5) {$D_2=\overset{+}{\{1,4\}}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amssymb, amsthm}
\usepackage{xcolor,todonotes}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1]
\node (al) at (-1.5,1){} ;
\node (a) at (-0.7,0) [circle,fill,inner sep=1pt, outer sep=2pt] {};
\node (b) at (-0.7,1)[circle,fill,inner sep=1pt , outer sep=2pt]{};
\node (c) at (-0.7,2) [circle,fill,inner sep=1pt, outer sep=2pt] {};
\node () at (-1.1,0)[]{$a$};
\node () at (-1.1,1)[]{$b$};
\node () at (-1.1,2)[]{$c$};
\node (al) at (-0.85,-0.1){} ;
\node (a'l) at (0.38,-0.14){} ;
\node (bl) at (-0.85,1){};
\node (bl2) at (-0.86,0.9){};
\node (cl) at (-0.85,2.1) {};
\node (ar) at (-0.55,-0.1) {};
\node (a'r) at (0.65,0.1) {};
\node (br) at (-0.55,1){};
\node (br2) at (-0.5,1){};
\node (cr) at (-0.55,2.1){} ;
\draw [draw=red, fill=red, fill opacity=0.2] plot [smooth cycle] coordinates { (al) (ar)(br)(cr)(cl)(bl) };
\draw[->, line width = 1pt](a) to (b);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{color,soul,amsmath,amssymb,tikz,pgfplots,adjustbox,inputenc,fontenc,times,epsfig,cite,bm,float,epstopdf,graphicx,graphics,amsthm}
\tikzset{>=latex}
\pgfplotsset{compat=newest}
\usetikzlibrary{shapes.geometric,shapes.symbols,fit,calc,arrows,backgrounds,patterns,pgfplots.groupplots,plotmarks,spy}
\usepgfplotslibrary{fillbetween}
\pgfplotscreateplotcyclelist{colors_qda}{smooth,blue!80!black,mark=*,mark size=1.6pt,semithick\\smooth,red,mark=asterisk,every mark/.append style={solid,fill=red!80!black},semithick\\smooth,green!60!black,mark=square*,mark size=1.2pt,semithick\\smooth,orange,mark=diamond*,semithick\\smooth,black,mark=pentagon*,mark size=1.7pt,semithick\\smooth,magenta!80!white,mark=triangle*,semithick\\}\pgfplotscreateplotcyclelist{colors_obtl}{smooth,blue!80!black,solid,semithick\\smooth,red!80!black,densely dashdotted,semithick\\smooth,green!60!black,densely dashed,semithick\\smooth,orange,densely dashdotdotted,semithick\\smooth,black,densely dotted, thick\\smooth,black,densely dotted, thick\\}\pgfplotscreateplotcyclelist{colors_scz}{green!60!black,densely dashdotted, thick\\red!80!black,densely dotted, thick\\blue!80!black,densely dashed, thick\\smooth,orange,densely dashdotdotted,semithick\\smooth,black,densely dotted, thick\\smooth,black,densely dotted, thick\\}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=1\linewidth,font=\footnotesize,cycle list name=colors_qda,xlabel= $n_s$,ylabel= MSE,xmin=10,xmax=500,xtick={10,100,200,300,400,500},ylabel near ticks,scaled y ticks=base 10:4,xlabel near ticks,legend style={nodes=right},legend style={nodes={scale=1,transform shape}},xmajorgrids,grid style={dotted},ymajorgrids]\addplot plot coordinates{(10,0.001393)(50,0.001391)(100,0.001390)(150,0.001389)(200,0.001388)(250,0.001388)(300,0.001388)(350,0.001387)(400,0.001385)(450,0.001384)(500,0.001382)};
\addplot plot coordinates{(10,0.001388)(50,0.001387)(100,0.001385)(150,0.001383)(200,0.001381)(250,0.001378)(300,0.001375)(350,0.001372)(400,0.001368)(450,0.001363)(500,0.001358)};
\addplot plot coordinates{(10,0.001373)(50,0.001372)(100,0.001370)(150,0.001368)(200,0.001366)(250,0.001363)(300,0.001360)(350,0.001357)(400,0.001353)(450,0.001348)(500,0.001343)};
\addplot plot coordinates{(10,0.001358)(50,0.001357)(100,0.001355)(150,0.001353)(200,0.001350)(250,0.001348)(300,0.001345)(350,0.001343)(400,0.001339)(450,0.001334)(500,0.001327)};
\addplot plot coordinates{(10,0.001275)(50,0.001222)(100,0.001182)(150,0.001155)(200,0.001139)(250,0.001132)(300,0.001131)(350,0.001131)(400,0.001131)(450,0.001129)(500,0.001126)};
\addplot plot coordinates{(10,0.001264)(50,0.001179)(100,0.001113)(150,0.001066)(200,0.001038)(250,0.001023)(300,0.001018)(350,0.001016)(400,0.001015)(450,0.001013)(500,0.001010)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\draw[thick, smooth, domain=-4:4, variable=\x] plot({\x},{1-\x*\x/16});
\filldraw (0,1) circle(1pt) node[above]{$Q$};
\filldraw (0,0.7) circle(1pt) node[right]{$z$};
\filldraw (0,-0.5) circle(1pt) node[right]{$y$};
\filldraw (-0.3,-0.7) circle(1pt) node[above]{$y'$};
\draw[dashed] (0,-0.5) circle(0.5);
\draw[dashed] (0,-0.5) circle(0.75);
\draw (3.5,0.25) arc (-20:-160.5:3.64);
\draw (2,0.7) node[above right] {$\partial D$};
\draw (-2,0.2) node {$D\cap B(Q,3\delta_D(y))$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[dvipsnames,svgnames,x11names]{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\tikzset{arrow/.style={-Stealth,thick}}
\begin{document}
\begin{tikzpicture}
\foreach \i in {0,...,8} {
\foreach \j in {0,...,\numexpr8-\i\relax} {
\node (\i--\j) at (\i,\j) {$\bullet$};
}
}
\draw[arrow,dotted] (-1,0)--(10,0);
\draw[arrow,dotted] (0,-1)--(0,10);
\node at (10.3,0) {$x_1$};
\node at (0,10.3) {$x_2$};
\node at (-0.5,-0.3) {$(0,0)$};
\node at (-0.5,8.3) {$(0,8)$};
\node at (8.5,-0.3) {$(8,0)$};
\newcommand{\rect}[5]{\draw[thick,#1] (#2-0.1,#4-0.1)--(#3+0.1,#4-0.1)--(#3+0.1,#5+0.1)--(#2-0.1,#5+0.1)--(#2-0.1,#4-0.1)}
\rect{green}0203;
\node at (-1.8,1.5) {$R_1=[0,2]\times[0,3]$};
\rect{gray}0248;
\node at (-1.8,6) {$R_2=[0,2]\times[4,8]$};
\rect{brown}2501;
\node at (3.5,-0.5) {$R_3=[2,5]\times[0,1]$};
\rect{red}1525;
\node at (4,5.5) {$R_4=[1,5]\times[2,5]$};
\rect{blue}4804;
\node at (9.8,2) {$R_5=[4,8]\times[0,4]$};
\node(Ex1) at (1.5,-1.5) {$\phi_t(2,0)=4$};
\draw[rounded corners] (Ex1)--(1.5,-0.5)--(2--0);
\node(Ex2) at (-1.8,3.5) {$\phi_t(2,3)=3$};
\draw[rounded corners] (Ex2)--(1.5,3.5)--(2--3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.9, transform shape]
\draw[fill=black]
(0,0) circle [radius=.08] node [above] {\small 1} node [below] {\small $s$}
(1,0) circle [radius=.08] node [above] {\small 2} node [below] {\small $s$}
(2,0) circle [radius=.08] node [above] {\small 3} node [below] {\small $l$}
(3,0) circle [radius=.08] node [above] {\small 4} node [below] {\small $l$};
\draw
(0, 0) -- (1, 0)
(1, 0.04) -- (2, 0.04)
(1, -0.04) -- (2, -0.04)
(2, 0) -- (3, 0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz, pgf}
\begin{document}
\begin{tikzpicture}
\begin{scope}\clip (0,-3) rectangle (4,3);
\draw [samples = 50, domain = -0.99:0.99, rotate around = {0:(0,0)}, xshift = 0cm, yshift = 0cm] plot ({0.69*(1+\x*\x)/(1-\x*\x)}, {0.72*2*\x/(1-\x*\x)});
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows, arrows.meta, arrows.spaced, bending, babel, calc, fit, positioning, scopes, intersections, through, backgrounds, matrix, chains, quotes, angles, math, topaths, plotmarks, graphs, graphs.standard, shapes.geometric, shapes.symbols, shapes.arrows, shapes.multipart, shapes.callouts, shapes.misc, trees}
\tikzset{level distance=1cm, sibling distance=1cm, >=stealth}
\begin{document}
\tikz \graph [left anchor=east, right anchor=west] { {a,b,c} -- [complete bipartite] {e,f,g} };
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american currents]
\draw (0,0) to[I=$a_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[view={-30}{30},no markers,zmax=30,z post scale=2,x post scale=0.5,enlargelimits=false,ymax=5,ymin=-5,xmax=5,xmin=-5]
\addplot3+[domain=0:30,samples=200,samples y=0,ultra thick](x-5,{5*sin(deg(1.2*x))},3*x);
\addplot3+[domain=0:30,samples=200,samples y=0](5,{5*sin(deg(1.2*x))},3*x);
\addplot3+[domain=0:30,samples=200,samples y=0](x-5,5,3*x);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [
hist={
bins=3,
handler/.style={sharp plot},
intervals=false,
},
] table [row sep=\\,y index=0] {
data\\
1\\ 2\\ 1\\ 5\\ 4\\ 10\\
7\\ 10\\ 9\\ 8\\ 9\\ 9\\
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm,amssymb,dsfont,graphicx,xspace,epsfig,xcolor}
\usepackage{tikz, tkz-graph, tkz-berge}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{patterns}
\usetikzlibrary{patterns.meta}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[thick,scale=1, every node/.style={transform shape}]
\tikzset{vertex/.style = {circle,fill=black,minimum size=5pt, inner sep=0pt}
}\tikzset{squarevertex/.style = {rectangle,fill=black,minimum size=5pt, inner sep=0pt}
}\tikzset{edge/.style = {->,> = latex'}
}
\begin{scope}
\node[vertex, label=left:$v_1$] (v1) at (0, 0) {};
\node[vertex, label=right:$v_2$] (v2) at (3, 0) {};
\node[squarevertex, label=left:$z_1$] (z1) at (0, 1.5) {};
\node[squarevertex, label=right:$z_2$] (z2) at (3, 1.5) {};
\node[] (e1) at (-0.3,0.75) {$e_1$};
\node[] (e2) at (3.3,0.75) {$e_2$};
\node[] (a) at (1.5,-0.3) {$(a)$};
\draw (v1) -- (z1) -- (z2) -- (v2);
\end{scope}
\begin{scope}[xshift=4.5cm]
\node[vertex, label=left:$v_1$] (v1) at (0, 0) {};
\node[vertex, label=right:$v_2$] (v2) at (3, 0) {};
\node[squarevertex, label=above:$z$] (z) at (1.5, 1.5) {};
\node[] (e1) at (0.4,0.75) {$e_1$};
\node[] (e2) at (2.6,0.75) {$e_2$};
\node[] (a) at (1.5,-0.3) {$(b)$};
\draw (v1) -- (z) -- (v2);
\end{scope}
\begin{scope}[xshift=9cm]
\node[vertex, label=left:$v_1$] (v1) at (0, 0) {};
\node[vertex, label=right:$v_2$] (v2) at (3, 0) {};
\node[vertex, label=above:$w$] (z) at (1.5, 1.5) {};
\node[] (e1) at (0.4,0.75) {$e_1$};
\node[] (e2) at (2.6,0.75) {$e_2$};
\node[] (a) at (1.5,-0.3) {$(c)$};
\draw (v1) -- (z) -- (v2);
\end{scope}
\begin{scope}[yshift=-3cm]
\node[vertex, label=left:$v_1$] (v1) at (0, 0) {};
\node[vertex, label=right:$v_2$] (v2) at (3, 0) {};
\node[squarevertex, label=left:$z$] (z1) at (0, 1.5) {};
\node[vertex, label=right:$w$] (z2) at (3, 1.5) {};
\node[] (e1) at (-0.3,0.75) {$e_1$};
\node[] (e2) at (3.3,0.75) {$e_2$};
\node[] (a) at (1.5,-0.3) {$(d)$};
\draw (v1) -- (z1) -- (z2) -- (v2);
\end{scope}
\begin{scope}[yshift=-3cm, xshift=4.5cm]
\node[vertex, label=left:$v_1$] (v1) at (0, 0) {};
\node[vertex, label=right:$v_2$] (v2) at (3, 0) {};
\node[squarevertex, label=left:$z_1$] (z1) at (0, 1.5) {};
\node[vertex, label=above:$w$] (w) at (1.5, 1.5) {};
\node[squarevertex, label=right:$z_2$] (z2) at (3, 1.5) {};
\node[] (e1) at (-0.3,0.75) {$e_1$};
\node[] (e2) at (3.3,0.75) {$e_2$};
\node[] (a) at (1.5,-0.3) {$(a)$};
\draw (v1) -- (z1) -- (w) -- (z2) -- (v2);
\end{scope}
\begin{scope}[yshift=-3cm, xshift=9.75cm]
\node[vertex, label=left:$v_1$] (v1) at (0, 0) {};
\node[vertex, label=right:$v_2$] (v2) at (1.5, 0) {};
\node[vertex, label=left:$w_1$] (w1) at (0, 1.5) {};
\node[vertex, label=right:$w_2$] (w2) at (1.5, 1.5) {};
\node[] (e1) at (-0.3,0.75) {$e_1$};
\node[] (e2) at (1.8,0.75) {$e_2$};
\node[] (a) at (0.75,-0.3) {$(f)$};
\draw (v1) -- (w1);
\draw (v2) -- (w2);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows, patterns, fadings}
\begin{document}
\begin{tikzpicture}[scale=5]
\draw (1,2/3)--(1,0);
\draw [dashed] (0,0)--(1,2/3) (0,2/3)--(1,2/3);
\draw [thick, ->] (0,0)--(1.2,0) node[right, below] {$v_1$};
\draw [thick, ->] (0,0)--(0,.8) node[above, left] {$v_2$};
\draw [domain=0:1, variable=\x] plot ({\x}, {\x*\x*2/3});
\fill [fill opacity=.3, blue!50, domain=0:1, variable=\x]
(0, 0) -- plot ({\x}, {\x*\x*2/3}) -- (1, 0) -- cycle;
\node at (0.7,.1) {$f(v,w)\ge0$};
\draw (0,1/4)--(1,2/3);
\fill [fill opacity=.7, pattern=north west lines, path fading=north]
(0, 1)--(0,1/4)--(1,2/3)--(1,1)--cycle;
\node at (0.3,.55) {$A_3\le0$};
\node[below] at (1,0) {$w'_1$};
\node[left] at (0,2/3) {$rw'_1-w_2$};
\begin{scope}[shift={(1.5,0)}]
\draw (1,2/3)--(1,0);
\draw [dashed] (0,0)--(1,2/3) (0,2/3)--(1,2/3);
\draw [thick, ->] (0,0)--(1.2,0) node[right, below] {$v_1$};
\draw [thick, ->] (0,0)--(0,.8) node[above, left] {$v_2$};
\draw [domain=0:1, variable=\x] plot ({\x}, {\x*\x*2/3});
\fill [fill opacity=.3, blue!50, domain=0:1, variable=\x]
(0, 0) -- plot ({\x}, {\x*\x*2/3}) -- (1, 0) -- cycle;
\node at (0.7,.1) {$f(v,w)\ge0$};
\draw (0,0)--(1,10/12);
\fill [fill opacity=.7, pattern=north west lines, path fading=north]
(0, 0)--(0,1)--(1,1)--(1,10/12)--cycle;
\node at (0.3,.55) {$A_2\le0$};
\node[below] at (1,0) {$w'_1$};
\node[left] at (0,2/3) {$rw'_1-w_2$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}\usepackage{tikz}\usetikzlibrary{automata, positioning, arrows}\tikzset{->, >=stealth', node distance=2cm, initial text=$ $}
\begin{document}\begin{tikzpicture}\node[state, initial, accepting] (empty) {$i$};\node[state, accepting, above right of=empty, xshift=1.5cm, yshift=2.0cm] (a) {$a$};\node[state, accepting, below right of=empty, xshift=1.5cm, yshift=-2.0cm] (b) {$b$};\node[state, accepting, below right of=a, xshift=1.5cm, yshift=-1.0cm] (ab) {$ab$};\node[state, accepting, above right of=ab, xshift=1.5cm, yshift=1.0cm] (aa) {$aa$};\node[state, accepting, above right of=b, xshift=1.5cm, yshift=1.0cm] (ba) {$ba$};\node[state, accepting, below right of=ba, xshift=1.5cm, yshift=-1.0cm] (bb) {$bb$};\draw (empty) edge[above left] node{$a$} (a) (empty) edge[below left] node{$b$} (b) (a) edge[right, above] node{$a$} (aa) (a) edge[below] node{$b$} (ab) (b) edge[right, below] node{$b$} (bb) (b) edge[above] node{$a$} (ba) (aa) edge[loop above, above] node{$a$} (aa) (aa) edge[below] node{$b$} (ab) (ab) edge[bend right, left] node{$a$} (ba) (ab) edge[bend left, above] node{$b$} (bb) (ba) edge[bend right, below] node{$a$} (aa) (ba) edge[bend right, right] node{$b$} (ab) (bb) edge[right] node{$a$} (ba) (bb) edge[loop below, below] node{$b$} (bb);\end{tikzpicture}\end{document}
\documentclass[tikz,border=3mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
  \begin{tikzpicture}
    \begin{axis}[name=large axis,xmin=0,ymax=75,title={$U=f(I)$},xlabel={$I$},ylabel={$U$}]
      \addplot table {
      x y
      225 45
      83 50
      38 54.3
      18 57.2
      8.8 59
      4.8 60.3
      1.95 68.4
      0.95 69.15
      0.5 69.4
    };
    \path (0.5,69.4) coordinate (ptl) (4.8,60.3) coordinate (pbr);
  \end{axis}
  \begin{axis}[anchor=north east,at={(large axis.north west)},xshift=-1.3cm,xmin=0,ymax=75,title={$U=f(I)$},xlabel={$I$},ylabel={$U$},width=5cm]
    \addplot table {
    x y
    4.8 60.3
    1.95 68.4
    0.95 69.15
    0.5 69.4
  };
\end{axis}
\draw[red] (ptl) rectangle (pbr) coordinate[midway](aux) (aux-|ptl) -- (current axis.east);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
reverse legend,
]
\addplot {x};
\addlegendentry{$x$}
\addplot {x^2};
\addlegendentry{$x^2$}
\addplot {x^3};
\addlegendentry{$x^3$}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\draw[->,color=black] (0.,0.) -- (10.,0.);
\foreach \x in {3}
\draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt) node[below] {\footnotesize A};
\draw[->,color=black] (0.,0.) -- (0.,2.);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{polar}
\begin{document}
\begin{tikzpicture}
\begin{polaraxis}[xmin=90,xmax=270]
\addplot coordinates { (0,1) (90,1) (180,1) (270,1) };
\end{polaraxis}
\end{tikzpicture}~
\begin{tikzpicture}
\begin{polaraxis}[xmin=270,xmax=420]
\addplot coordinates { (0,1) (90,1) (180,1) (270,1) };
\end{polaraxis}
\end{tikzpicture}
\end{document}