AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{color,graphics}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage[ansinew]{inputenc}
\newcommand{\chan}[1]{\widehat{#1}
}
\begin{document}
\begin{tikzpicture}
\draw [ultra thick] (7.5,0) circle [radius=0.3];
\node at (7.5,0) {$\chan{U}$};
\draw [thick] (0,-2) circle [radius=0.25];
\draw [fill=black] (3,-2) circle [radius=0.25];
\draw [thick] (6,-2) circle [radius=0.25];
\draw [thick] (9,-2) circle [radius=0.25];
\draw [fill=black] (12,-2) circle [radius=0.25];
\draw [thick] (15,-2) circle [radius=0.25];
\draw (7.2,-0.1)--(0.15,-1.82);
\draw [ultra thick] (7.25,-0.11)--(3,-2);
\draw (7.3,-0.16)--(6,-1.73);
\draw (7.5,-0.27)--(9,-1.73);
\draw [ultra thick] (7.8,-0.14)--(12,-2);
\draw (7.8,-0.05)--(14.9,-1.8);
\draw [thick] (0,-3.5) circle [radius=0.25];
\draw [thick] (1,-3.5) circle [radius=0.25];
\draw [fill=black] (2,-3.5) circle [radius=0.25];
\draw [thick] (3,-3.5) circle [radius=0.25];
\draw [thick] (4,-3.5) circle [radius=0.25];
\draw [thick] (5,-3.5) circle [radius=0.25];
\draw (3,-2)--(0.1,-3.25);
\draw (3,-2)--(1.2,-3.35);
\draw [ultra thick] (3,-2)--(2,-3.5);
\draw (3,-2)--(3,-3.25);
\draw (3,-2)--(4,-3.25);
\draw (3,-2)--(5,-3.25);
\draw [thick] (10,-3.5) circle [radius=0.25];
\draw [thick] (11,-3.5) circle [radius=0.25];
\draw [thick] (12,-3.5) circle [radius=0.25];
\draw [thick] (13,-3.5) circle [radius=0.25];
\draw [thick] (14,-3.5) circle [radius=0.25];
\draw [thick] (15,-3.5) circle [radius=0.25];
\draw (12,-2)--(10,-3.25);
\draw (12,-2)--(11,-3.25);
\draw (12,-2)--(12,-3.25);
\draw (12,-2)--(13,-3.25);
\draw (12,-2)--(14,-3.25);
\draw (12,-2)--(15,-3.25);
\draw [thick] (0,-5) circle [radius=0.25];
\draw [thick] (1,-5) circle [radius=0.25];
\draw [thick] (2,-5) circle [radius=0.25];
\draw [thick] (3,-5) circle [radius=0.25];
\draw [fill=black] (4,-5) circle [radius=0.25];
\draw [thick] (5,-5) circle [radius=0.25];
\draw (2,-3.5)--(0,-4.75);
\draw (2,-3.5)--(1,-4.75);
\draw (2,-3.5)--(2,-4.75);
\draw (2,-3.5)--(3,-4.75);
\draw [ultra thick] (2,-3.5)--(4,-5);
\draw (2,-3.5)--(5,-4.75);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\tikzset{
every pin/.style={fill=yellow!50!white,rectangle,rounded corners=3pt,font=\tiny},
small dot/.style={fill=black,circle,scale=0.3},
}
\begin{document}
\tikzset{
every pin/.style={fill=yellow!50!white,rectangle,rounded corners=3pt,font=\tiny},
small dot/.style={fill=black,circle,scale=0.3},
}
\begin{tikzpicture}
\begin{axis}[
xticklabel style={draw=red},
clip=false,
title=\texttt{ticklabel cs} and its optional shift,
]
\addplot3 coordinates {(-5,-5,-5) (5,5,5)};
\draw [blue,thick,->] (xticklabel cs:0,0) -- (xticklabel cs:1,0);
\draw [red,thick,->] (xticklabel cs:0,5pt) -- (xticklabel cs:1,5pt);
\draw [magenta,thick,->] (xticklabel cs:0,10pt) -- (xticklabel cs:1,10pt);
\draw [green,thick,->] (xticklabel cs:0,15pt) -- (xticklabel cs:1,15pt);
\node [small dot,pin=0:{\texttt{xticklabel cs:1,0}}] at (xticklabel cs:1,0) {};
\node [small dot,pin=0:{\texttt{xticklabel cs:1,15pt}}] at (xticklabel cs:1,15pt) {};
\draw [blue,thick,->] (xticklabel cs:0,0) -- (xticklabel cs:0,15pt);
\draw [blue,thick,->] (xticklabel cs:1,0) -- (xticklabel cs:1,15pt);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz\graph[chain shift=(45:1)]{a->b->c;
d->e;
f->g->h;
};
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\usepackage{amsmath}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[scale=1.3, >=Stealth]
\draw[thin, <->, gray!80] (-3,0) -- (3,0) node [right] {$x$};
\draw[thin, <->, gray!80] (0,-1) -- (0,2);
\draw[<->] (-1.5,.03) -- node [left]{$z$} (-1.5,1.47);
\draw[<->] (-2.47,1.5) -- node[above] {$\Delta x$} (-2.03,1.5);
\foreach \x in {-2.5,-2,...,2.5} \draw[fill=red] (\x,1.5) circle(.02);
\draw[fill=yellow] (30:-1.2) circle(.07) -- (30:1.2) circle(.07);
\draw (15:.54) node {$\theta$};
\draw[<->] (120:.2) -- node[above,sloped] {$s$} +(30:1.2);
\draw[blue] (30:1.2) -- node[below]{$x-s\cos\theta$} (2.5,1.5 |- 30:1.2) --
node[left]{$z-s\sin\theta$} (2.5,1.5) node[anchor=south] {$(x,z)$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}[
xlabel=Dof,
ylabel=Error,
title={$\mu=0.1$, $\sigma=0.2$},
]
\addplot coordinates {
(5, 8.312e-02)
(17, 2.547e-02)
(49, 7.407e-03)
(129, 2.102e-03)
(321, 5.874e-04)
(769, 1.623e-04)
(1793, 4.442e-05)
(4097, 1.207e-05)
(9217, 3.261e-06)
};
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{datavisualization.formats.functions}
\begin{document}
\begin{tikzpicture}
\datavisualization [school book axes, visualize as line]
data [headline={x, y}] {
0, 0
1, 1
2, 1
3, 0
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[main/.style={draw,circle,minimum size=0.2cm,inner sep=0pt}]
\node[main](1){};
\node[above=.15]at(1){node 1};
\node[main](2)[below left=1cm and 1cm of 1]{};
\node[left=.2]at(2){node 2};
\node[main](3)[below right=1cm and 1cm of 2]{};
\node[below=.5]at(3){node 3};
\node[main](4)[above right=1cm and 1cm of 3]{};
\node[right=.2]at(4){node 4};
\node(21)[above left=.5cm and .5cm of 2]{};
\node(22)[below left=.5cm and .5cm of 2]{};
\node(31)[below left=.5cm and .5cm of 3]{};
\node(32)[below right=.5cm and .5cm of 3]{};
\node(41)[above right=.5cm and .5cm of 4]{};
\node(42)[below right=.5cm and .5cm of 4]{};
\draw[->,line width=.5mm,dotted](21)--(2);
\draw[->,line width=.5mm,dotted](22)--(2);
\draw[->,line width=.5mm,dotted](31)--(3);
\draw[->,line width=.5mm,dotted](32)--(3);
\draw[->,line width=.5mm,dotted](41)--(4);
\draw[->,line width=.5mm,dotted](42)--(4);
\draw[->,line width=.5mm,dotted](1)--(2);
\draw[->,line width=.5mm,dotted](2)--(3);
\draw[->,line width=.5mm,dotted](3)--(4);
\node[rectangle,draw,text=olive,fill=blue!100,below=.25]at(1){};
\node[rectangle,draw,text=olive,fill=blue!50,right=.25]at(2){};
\node[rectangle,draw,text=olive,fill=blue!25,above=.25]at(3){};
\node[rectangle,draw,text=olive,fill=blue!12.5,left=.25]at(4){};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage[most]{tcolorbox}
\usetikzlibrary{patterns}
\tikzset{every loop/.style={min distance=2cm}}
\begin{document}
\begin{tikzpicture}[scale=0.4]
\draw[fill=gray!90] (0,0) circle (3pt);
\draw[fill=gray!90] (2,2) circle (3pt);
\draw[fill=gray!90] (2,0) circle (3pt);
\draw[fill=gray!90] (0,2) circle (3pt);
\draw[fill=gray!90] (3,3) circle (3pt);
\draw[fill=gray!90] (3,1) circle (3pt);
\draw[fill=gray!90] (1,3) circle (3pt);
\draw[fill=gray!90] (4,4) circle (3pt);
\draw[fill=gray!90] (4,1) circle (3pt);
\draw[fill=gray!90] (2,-1) circle (3pt);
\draw[fill=gray!90] (-1,-1) circle (3pt);
\draw[fill=gray!90] (-1,2) circle (3pt);
\draw[fill=gray!90] (1,4) circle (3pt);
\draw (0,0) -- (0,2) -- (2,2) -- (2,0) -- (0,0);
\draw (0,2) -- (1,3) -- (3,3) -- (2,2);
\draw (3,3) -- (3,1) -- (2,0);
\draw (3,3) -- (4,4) -- (4,1) -- (3,1);
\draw (2,0) -- (2,-1) -- (4,1);
\draw (2,-1) -- (-1,-1) -- (0,0);
\draw (-1,-1) -- (-1,2) -- (0,2);
\draw (-1,2) -- (1,4) -- (1,3);
\draw (1,4) -- (4,4);
\begin{scope}[xshift=11cm,yshift=1.5cm]
\draw[fill=gray!90] (0,0) circle (3pt);
\draw[fill=gray!90] (1,1) circle (3pt);
\draw[fill=gray!90] (2,0) circle (3pt);
\draw[fill=gray!90] (1,-1) circle (3pt);
\draw[fill=gray!90] (1,3) circle (3pt);
\draw[fill=gray!90] (1,-3) circle (3pt);
\draw[fill=gray!90] (3,1) circle (3pt);
\draw[fill=gray!90] (-2,0) circle (3pt);
\draw[fill=gray!90] (3,-1) circle (3pt);
\draw[fill=gray!90] (4,0) circle (3pt);
\draw (0,0) -- (1,1) -- (2,0) -- (1,-1) -- (0,0);
\draw (1,1) -- (1,3) -- (3,1);
\draw (1,3) -- (-2,0) -- (0,0);
\draw (-2,0) -- (1,-3) -- (1,-1);
\draw (1,-3) -- (3,-1);
\draw (2,0) -- (3,1) -- (4,0) -- (3,-1) -- (2,0);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[every node/.style={draw,shape=circle,fill,minimum size=2pt,inner sep=0pt,outer sep=1pt}]
\definecolor{c-d1}{RGB}{255,0,0}
\definecolor{c-d2}{RGB}{0,255,0}
\definecolor{c-d3}{RGB}{0,0,255}
\node (v1) at (0, 0) {};
\node (v2) at (1.3, -0.7) {};
\node (v3) at (0, 1.5) {};
\node (v4) at (-1.3, -0.7) {};
\draw[c-d1, thick] (v1)--(v2);
\draw[c-d1, thick] (v3)--(v4);
\draw[c-d2, thick] (v1)--(v3);
\draw[c-d2, thick] (v2)--(v4);
\draw[c-d3, thick] (v1)--(v4);
\draw[c-d3, thick] (v2)--(v3);
\draw[color=c-d1,thick] (3,1)--(3.2,1);
\node[draw=none, fill=none] at (3.5,1) {$a$};
\draw[color=c-d2,thick] (3,0.5)--(3.2,0.5);
\node[draw=none, fill=none] at (3.5,0.5) {$b$};
\draw[color=c-d3,thick] (3,0)--(3.2,0);
\node[draw=none, fill=none] at (3.5,0) {$c$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{intersections, calc, angles}
\begin{document}
\begin{tikzpicture}[point/.style = {draw, circle, fill=black, inner sep=0.7pt}]
\def\rad{2cm}
\definecolor{manifold_color}{rgb}{0.80,0.98,0.98}
\coordinate (O) at (0,0);
\coordinate (N) at (0,\rad);
\filldraw[ball color=manifold_color] (O) circle [radius=\rad];
\draw[dashed] (\rad,0) arc [start angle=0,end angle=180,x radius=\rad,y radius=5mm];
\draw (\rad,0) arc [start angle=0,end angle=-180,x radius=\rad,y radius=5mm];
\begin{scope}[xslant=0.5,yshift=\rad,xshift=-2]
\filldraw[fill=gray!50,opacity=0.3] (-3,1) -- (3,1) -- (3,-1) -- (-3,-1) -- cycle;
(-4,1) -- (3,1) -- (3,-1) -- (-4,-1) -- cycle;
\node at (2,0.6) {$\mathcal{T}_{x}^{c}\mathbb{B}^{n, c}$};
\node at (1.2 * \rad,-2 * \rad) {$\mathbb{B}^{n, c}$};
\end{scope}\draw[color=red, ->, thick] (0, \rad) -- (2.3, 1.4);
\node at (1.25,1.9) {$u$};
\draw[dotted, color=blue, thick, ->] (2.3, 1.4) arc (5:-50:1.5) coordinate (c);
\node[text=blue] at ($(c) + (-0.75,-0.06)$) {$\exp_{x}^{c}(\textcolor{black}{u})$};
\draw[dotted, color=red, thick, ->] ($ (c) + (0.3,0) $) arc (-50:8:1.35) coordinate (d);
\node[text=red] at ($(d) + (0.6,-0.8)$) {$\log_{x}^{c}(\textcolor{black}{v})$};
\draw[dashed, color=blue, thick] (0, \rad) arc (250:215:-2.8) coordinate (e);
\draw[solid, color=blue, thick, ->] (e) arc (215:198:-2.8);
\node at ($(e) + (-0.25, -0.2)$) {$v$};
\draw[dashed] (N) node[above] {$x$} -- (O) node[below] {$O$};
\node[point] at (N) {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
view={rad(60)}{rad(30)},
trig format=rad,
title=all in radians,
]
\addplot3+ [domain=0:4*pi, samples=19, samples y=1]
({sin(x)},
{cos(x)},
{2*x/(4*pi)});


\node [fill=white, draw=black, anchor=center] at
({sin(pi/2)}, {cos(pi/2)}, 1) {X};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}[>=stealth]
\node [cylinder, gray!50, rotate=30, draw,
minimum height=2cm, minimum width=1cm] (c) {Cylinder};
\draw[red, <->] (c.top) -- (c.bottom)
node [at end, below, black] {height};
\draw[red, <->] (c.north) -- (c.south)
node [at start, above, black] {width};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\def\transformtime#1:#2:#3!{
\pgfkeys{/pgf/fpu=true,/pgf/fpu/output format=fixed}
\pgfmathparse{#1*3600-\pgfkeysvalueof{/pgfplots/timeplot zero}*3600+#2*60+#3}
\pgfkeys{/pgf/fpu=false}
}
\pgfplotsset{
timeplot zero/.initial=0,
timeplot/.style={
x coord trafo/.code={\expandafter\transformtime##1!},
x coord inv trafo/.code={
\pgfkeys{/pgf/fpu=true,/pgf/fpu/output format=fixed}
\pgfmathsetmacro\hours{floor(##1/3600)+\pgfkeysvalueof{/pgfplots/timeplot zero}}
\pgfmathsetmacro\minutes{floor((##1-(\hours-\pgfkeysvalueof{/pgfplots/timeplot zero})*3600)/60)}
\pgfmathsetmacro\seconds{##1-floor(##1/60)*60}
\def\pgfmathresult{\pgfmathprintnumber{\hours}:\pgfmathprintnumber{\minutes}:\pgfmathprintnumber[fixed zerofill]{\seconds}}
\pgfkeys{/pgf/fpu=false}
},
scaled x ticks=false,
xticklabel=\tick
}
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
timeplot, timeplot zero=22,
xtick={22:54:14.75,22:54:15}]
\addplot table {
Time State
22:54:14.716 5
22:54:14.716 5
22:54:14.716 5
22:54:14.716 5
22:54:14.729 4
22:54:14.919 1
22:54:14.919 1
22:54:15.128 5
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
nodes near coords={(\coordindex)},
title={\texttt{patch type=quadratic spline}},
]
\addplot [
mark=*,
patch,
patch type=quadratic spline,
] coordinates {
(0,0) (1,1) (0.5,0.5^2)
(1.2,1) (2.2,1) (1.7,2)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{calc,shadings,patterns}
\usetikzlibrary{matrix}
\usetikzlibrary{arrows}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{enumitem,pifont}
\begin{document}
\begin{tikzpicture}[scale=0.5]
\node[left] at (2,2) {\tiny{$\Delta(S)$}};
\node[right] at (7,2) {\tiny{$\Delta(\tau_\Theta^-S)$}};
\node[above] at (8,8) {\tiny{$P(S')$}};
\node[above] at (13,8) {\tiny{$I(\Delta(\tau^-S))$}};
\node[below] at (16,0) {\tiny{$S'$}};
\node[below] at (17.5,0) {\tiny{$\tau_{\Lambda'}^-S'$}};
\node[right] at (11,6) {\tiny{$P(\tau_{\Lambda'}^- S')$}};
\node[above] at (10,6) {\tiny{$E$}};
\draw (0,0)--(2,2)--(8,8)--(16,0);
\draw (4,0)--(10,6);
\draw (2,2)--(4,0);
\draw (5,0)--(7,2)--(13,8)--(17,4);
\draw (7,2)--(9,0);
\draw (11,6)--(17,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{*6(=*5(-(=O)-O-(=O)-)-=-=-)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\foreach \level in {0,1,2} {
\begin{tikzpicture}
\begin{axis}[
footnotesize,
title={Faceted + \level\ refines},
]
\addplot3 [
patch,
patch type=biquadratic,
shader=faceted,
patch refines=\level,
] coordinates {
(0,0,1) (6,1,0) (5,5,0) (-1,5,0)
(3,1,0) (6,3,0) (2,6,0) (0,3,0)
(3,3.75,0)
};
\end{axis}
\end{tikzpicture}
}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, positioning}
\begin{document}
\begin{tikzpicture}[sibling distance=0.5cm, level distance = 2.6cm]
\tikzset{
parent/.style={draw, rectangle, rounded corners=5pt, minimum height=0.9cm, minimum width=2cm},
child/.style={draw, circle, minimum size=1.2cm}
}
\node [child,font=\Large] (parent1) {\rotatebox{90}{$C_{{n_l}+1}$}}
child { node [child,font=\Large] (child1) {\rotatebox{90}{$C_1$}} }
child[dotted, shorten >= 0.3cm]
child[dotted, shorten >= 0.3cm]
child[dotted, shorten >= 0.3cm]
child { node [child, font=\Large] (child2) {\rotatebox{90}{$C_{n_l}$}} };
\node [above=1.5cm of parent1, parent,font=\Large] (parent2) {Server};
\draw (parent1) -- (parent2);
\node [below=0.7cm of child1,font=\Large] (word1) {\rotatebox{90}{$\lambda_{I,i1}$}};
\node [below=0.7cm of child2,font=\Large] (word2) {\rotatebox{90}{$\lambda_{I,in_l}$}};
\node [left=0.4cm of parent1, xshift=0.55cm, yshift=-1.3cm,font=\Large] (word3) {\rotatebox{90}{$d_1$}};
\node [right=0.4cm of parent1,xshift=-0.55cm, yshift=-1.3cm,font=\Large] (word3) {\rotatebox{90}{$d_{n_l}$}};
\node [above=0.09cm of parent1, yshift=0.1cm,xshift=0.3cm,font=\Large] (word3) {\rotatebox{90}{$d_{n_l+1}$}};
\draw[-{Latex[length=2mm,width=2mm]}, line width=0.5pt] (word1) -- (child1);
\draw[-{Latex[length=2mm,width=2mm]}, line width=0.5pt] (word2) -- (child2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
smithchart
}
\begin{document}
\begin{tikzpicture}
\begin{smithchart}[
yticklabel around circle,
]
\end{smithchart}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[scale=.75]
\tikzstyle{vert}=[circle,fill=black,inner sep=3pt]
\tikzstyle{overt}=[circle, draw, inner sep=3pt]
\node[overt, label=above:\tiny{$v$}] (v) at (1,1) {};
\node[overt, label=above:\tiny{$v_1$}] (v_1) at (2,1) {};
\node[overt, label=above:\tiny{$v_2$}] (v_2) at (3,1.5) {};
\node[overt, label=above:\tiny{$v_3$}] (v_3) at (4,1.5) {};
\node[overt, label=below:\tiny{$v_4$}] (v_4) at (3,.5) {};
\draw[color=black] (v)--(v_1)--(v_2)--(v_3) (v_1)--(v_4);
\filldraw[color=black] (.5,1) circle (1pt) (0,1) circle (1pt) (-.5,1) circle (1pt);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx,RPvoltages]{circuitikz}
\def\killdepth#1{{\raisebox{0pt}
[\height][0pt]{#1}}}
\begin{document}
\begin{circuitikz}[american]
\draw(0,0)node[nmos](Q1){q1}++(2,0)node[nmos](M1){m1};
\draw[red](Q1.center)++(0,-0.7ex)--++(3,0);
\draw(0,-2)node[nmos](Q1){\killdepth{q1}}++(2,0)node[nmos](M1){\killdepth{m1}};
\draw[red](Q1.center)++(0,-0.7ex)--++(3,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions,
plotmarks
}
\tikzdatavisualizationset {
example visualization/.style={
scientific axes=clean,
y axis={ticks={style={
/pgf/number format/fixed,
/pgf/number format/fixed zerofill,
/pgf/number format/precision=2}}},
x axis={ticks={tick suffix=${}^\circ$}},
1={label in legend={text=$\frac{1}{6}\sin 11x$}},
2={label in legend={text=$\frac{1}{7}\sin 12x$}},
3={label in legend={text=$\frac{1}{8}\sin 13x$}},
4={label in legend={text=$\frac{1}{9}\sin 14x$}},
5={label in legend={text=$\frac{1}{10}\sin 15x$}},
6={label in legend={text=$\frac{1}{11}\sin 16x$}},
7={label in legend={text=$\frac{1}{12}\sin 17x$}},
8={label in legend={text=$\frac{1}{13}\sin 18x$}}
}
}
\begin{document}
\tikz \datavisualization data group {sin functions} = {
data [format=function] {
var set : {1,...,8};
var x : interval [0:50];
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
}
};
\tikz \datavisualization [
visualize as smooth line/.list={1,2,3,4,5,6,7,8},
example visualization,
style sheet=cross marks]
data group {sin functions};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amssymb,amsmath}
\usepackage{amssymb}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{automata,arrows,positioning,calc}
\usetikzlibrary{quantikz}
\begin{document}
\begin{tikzpicture}[->, >=stealth', auto, semithick, node distance=3.5cm]
\tikzstyle{every state}=[fill=white,draw=black,thick,text=black,scale=1]
\node[draw=none, fill=none] (x) {};
\node[state] (A)[above of=x] {$\tilde{\sigma}_{0,0}$};
\node[state] (B)[right of=x] {$\tilde{\sigma}_{0,1}$};
\node[state] (C)[below of=x] {$\tilde{\sigma}_{1,0}$};
\node[state] (D)[left of=x] {$\tilde{\sigma}_{1,1}$};
\path
(A)
edge[loop above, above] node{$0|\frac{1-\chi_-}{2}$} (A)
edge[right] node[pos=0.35]{$0|\frac{1-\chi_+}{2}$} (B)
edge[bend left, below] node[right]{$0|\frac{\chi_+}{2}$} (C)
edge[bend right, left] node{$0|\frac{\chi_-}{2}$} (D)
(B)
edge[bend right, above, red] node[right,pos=0.75]{$0|\frac{1-\chi_-}{2}$} (A)
edge[loop right, right, red] node{$0|\frac{1-\chi_+}{2}$} (B)
edge[below, red] node[right]{$0|\frac{\chi_+}{2}$} (C)
edge[bend left, left, red] node[below]{$0|\frac{\chi_-}{2}$} (D)
(C)
edge[bend left, above, blue] node[left]{$1|\frac{\chi_+}{2}$} (A)
edge[bend right, right, blue] node{$1|\frac{\chi_-}{2}$} (B)
edge[pos=0.4][loop below, below, blue] node{$1|\frac{1-\chi_-}{2}$} (C)
edge[left, blue] node[pos=0.45]{$1|\frac{1-\chi_+}{2}$} (D)
(D)
edge[above, OliveGreen] node[left]{$1|\frac{\chi_+}{2}$} (A)
edge[bend left, right, OliveGreen] node[above]{$1|\frac{\chi_-}{2}$} (B)
edge[bend right, below, OliveGreen] node[left,pos=0.7]{$1|\frac{1-\chi_-}{2}$} (C)
edge[loop left, left, OliveGreen] node{$1|\frac{1-\chi_+}{2}$} (D);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\tikz [circle] {
\node [draw] (s) {};
\node [draw] (a) [right=of s] {} edge (s);
\node [draw] (b) [right=of a] {} edge (a);
\node [draw] (t) [right=of b] {} edge (b);
}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\tikz \graph [quick] {
"a"/"$a$" -- "b"[x=1] --[red] "c"[x=2];
{ [nodes=blue] "a" -- "d"[y=1]; };
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\foreach \level in {0,1,2} {
\begin{tikzpicture}
\begin{axis}[
nodes near coords={(\coordindex)},
footnotesize,
title={Triangulation + \level\ refines},
]
\addplot3 [
patch,
patch type=biquadratic,
shader=faceted interp,
patch to triangles,
patch refines=\level,
] coordinates {
(0,0,0) (6,1,0) (5,5,0) (-1,5,0)
(3,1,0) (6,3,0) (2,6,0) (0,3,0)
(3,3.75,1)
};
\end{axis}
\end{tikzpicture}
}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[scale=0.8, transform shape]
\draw (0,0) node[above]{$v_i$} to[short, o-] ++(1,0)
node[op amp, noinv input up, anchor=+](OA){\texttt{OA1}}
(OA.-) -- ++(0,-1) coordinate(FB)
to[R=$R_1$] ++(0,-2) node[ground]{}
(FB) to[R=$R_2$, *-] (FB -| OA.out) -- (OA.out)
to [short, *-o] ++(1,0) node[above]{$v_o$}
;
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend entries={$x$,$x^2$},
]
\addplot {x};
\addplot {x^2};
\legend{$a$,$b$}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}
\def\mychain#1{
\def\mytext{1}
\foreach \i in {2,...,#1} {
\xdef\mytext{\mytext -> \i}
}
}
\tikzgraphsset{my chain/.style={
/utils/exec=\mychain{#1},
parse/.expand once=\mytext}
}
\tikz \graph { [my chain=4] };
\end{tikzpicture}
\end{document}