AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=.3]
\tikzstyle{vertexX}=[circle,inner sep=2pt,fill=black]
\tikzstyle{vertexY}=[draw,circle,inner sep=2pt,fill=lightgray]
\tikzstyle{square}=[draw,rectangle,inner sep=2pt]
\tikzstyle{subd}=[draw,circle,inner sep=1.5pt]
\node[square](q0)at(11,11){};
\node[square](q1)at(16,16){};
\node[square](q2)at(1,11){};
\node[square](q3)at(11,1){};
\node[square](q4)at(6,6){};
\node[square](q5)at(16,6){};
\node[square](q6)at(6,16){};
\node[square](q7)at(1,1){};
\node[vertexX](cj1)at(12,12)[label=below:\quad$c_{j1}$]{};
\node[vertexX](cj2)at(9,11)[label=below:$c_{j2}$]{};
\node[vertexY](cj3)at(11,9)[label=right:$c_{j3}$]{};
\node[subd](s01-2)at(13,13){};
\node[subd](s01-3)at(14,14){};
\node[subd](s01-4)at(15,15){};
\node[subd](s02-2)at(7,11){};
\node[subd](s02-3)at(5,11){};
\node[subd](s02-4)at(3,11){};
\node[subd](s03-2)at(11,7){};
\node[subd](s03-3)at(11,5){};
\node[subd](s03-4)at(11,3){};
\node[subd](s15-1)at(16,14){};
\node[subd](s15-2)at(16,12){};
\node[subd](s15-3)at(16,10){};
\node[subd](s15-4)at(16,8){};
\node[subd](s16-1)at(14,16){};
\node[subd](s16-2)at(12,16){};
\node[subd](s16-3)at(10,16){};
\node[subd](s16-4)at(8,16){};
\node[subd](s26-1)at(2,12){};
\node[subd](s26-2)at(3,13){};
\node[subd](s26-3)at(4,14){};
\node[subd](s26-4)at(5,15){};
\node[subd](s27-1)at(1,9){};
\node[subd](s27-2)at(1,7){};
\node[subd](s27-3)at(1,5){};
\node[subd](s27-4)at(1,3){};
\node[subd](s35-1)at(12,2){};
\node[subd](s35-2)at(13,3){};
\node[subd](s35-3)at(14,4){};
\node[subd](s35-4)at(15,5){};
\node[subd](s37-1)at(9,1){};
\node[subd](s37-2)at(7,1){};
\node[subd](s37-3)at(5,1){};
\node[subd](s37-4)at(3,1){};
\node[subd](s45-1)at(8,6){};
\node[subd](s45-2)at(10,6){};
\node[subd](s45-3)at(12,6){};
\node[subd](s45-4)at(14,6){};
\node[subd](s46-1)at(6,8){};
\node[subd](s46-2)at(6,10){};
\node[subd](s46-3)at(6,12){};
\node[subd](s46-4)at(6,14){};
\node[subd](s47-1)at(5,5){};
\node[subd](s47-2)at(4,4){};
\node[subd](s47-3)at(3,3){};
\node[subd](s47-4)at(2,2){};
\draw(q0)--(cj1)--(s01-2)--(s01-3)--(s01-4)--(q1);
\draw(q0)--(cj2)--(s02-2)--(s02-3)--(s02-4)--(q2);
\draw(q0)--(cj3)--(s03-2)--(s03-3)--(s03-4)--(q3);
\draw(q1)--(s15-1)--(s15-2)--(s15-3)--(s15-4)--(q5);
\draw(q1)--(s16-1)--(s16-2)--(s16-3)--(s16-4)--(q6);
\draw(q2)--(s26-1)--(s26-2)--(s26-3)--(s26-4)--(q6);
\draw(q2)--(s27-1)--(s27-2)--(s27-3)--(s27-4)--(q7);
\draw(q3)--(s35-1)--(s35-2)--(s35-3)--(s35-4)--(q5);
\draw(q3)--(s37-1)--(s37-2)--(s37-3)--(s37-4)--(q7);
\draw(q4)--(s45-1)--(s45-2)--(s45-3)--(s45-4)--(q5);
\draw(q4)--(s46-1)--(s46-2)--(s46-3)--(s46-4)--(q6);
\draw(q4)--(s47-1)--(s47-2)--(s47-3)--(s47-4)--(q7);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{amsmath,tikz}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{arrows,shapes,positioning}
\usetikzlibrary{calc,decorations.markings}
\usepackage{environ}
\begin{document}
\tikzstyle{losange} = [diamond, draw, text badly centered, inner sep=1cm]
\begin{tikzpicture}
\node [losange] (L) {Losange};
\node [anchor=south west] (s1) at (L.90) {S1};
\node [anchor=south west] (s2) at (L.75) {S2};
\draw [blue] (L.center) -- ++(55:3cm) node[right] {$55^\circ$ (L.55)};
\fill [red] (L.55) circle (0.1);
\node [anchor=south west] (s3) at (L.55) {S3};
\node [anchor=south west] (s4) at (L.35) {S4};
\node [anchor=south west] (s5) at (L.15) {S5};
\node [anchor=west] (s6) at (L.0) {S6};
\node [anchor=north west] (s7) at (L.-15) {S7};
\node [anchor=north west] (s8) at (L.-35) {S8};
\node [anchor=north west] (s9) at (L.-55) {S9};
\node [anchor=north west] (s10) at (L.-75) {S10};
\node [anchor=north west] (s11) at (L.-90) {S11};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsthm, amssymb, amsmath}
\usepackage[dvipsnames]{xcolor}
\usepackage{graphicx, tikz, pgfplots}
\usetikzlibrary{fit}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\draw(1,3)node[below, black]{\small $a_1$}node[left, black]{\small $a_2$}--(2,3)node[below, black]{\small $a_1+1$}--(2,4)--(1,4)node[left, black]{\small $a_2+1$}--(1,3);
\draw [dashed, purple!50!black, smooth, samples =20, domain=0.9:1.025] plot(\x,{16 -12/\x});
\draw [dashed, purple!50!black, smooth, samples =20, domain=0.975:1.15] plot(\x,{15 -12/\x});
\draw [dashed, purple!50!black, smooth, samples =20, domain=1.6:2.1] plot(\x,{10 -12/\x});
\draw [dashed, purple!50!black, smooth, samples =20, domain=1.8:2.2] plot(\x,{9 -12/\x});
\draw(3,1)node[below, black]{\small $a_2$}node[left, black]{\small $a_1$}--(4,1)node[below, black]{\small $a_2+1$}--(4,2)--(3,2)node[left, black]{\small $a_1+1$}--(3,1);
\draw [dashed, purple!50!black, smooth, samples =20, domain=2.7:3.25] plot(\x,{6 -12/\x});
\draw [dashed, purple!50!black, smooth, samples =20, domain=2.7:4.5] plot(\x,{5 -12/\x});
\draw [dashed, purple!50!black, smooth, samples =20, domain=3.5:4.5] plot(\x,{4 -12/\x});
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\providecolor{darkgray}{rgb}{0.4, 0.4, 0.4}
\providecolor{lightgray}{rgb}{0.8, 0.8, 0.8}
\tkzSetUpColors[background=white,text=black]
\tkzSetUpCompass[color=orange,line width=.2pt,delta=10]
\tkzSetUpArc[color=gray,line width=.2pt]
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{every picture/.style={line width=.2pt}}
\tikzset{new/.style={color=orange,line width=.2pt}}
\tikzset{label angle style/.append style={color=teal,font=\footnotesize}}
\tikzset{label style/.append style={below,color=teal,font=\scriptsize}}
\tikzset{line style/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=1.25]
\tkzDefPoints{0/0/A, 4/2/B, 1/4/C}
\tkzDrawPolygon(A,B,C)
\tkzSetUpCompass[color=brown,line width=.1 pt]
\tkzDefLine[bisector](B,A,C) \tkzGetPoint{a}
\tkzDefLine[bisector](C,B,A) \tkzGetPoint{b}
\tkzInterLL(A,a)(B,b) \tkzGetPoint{I}
\tkzDefPointBy[projection = onto A--B](I)
\tkzGetPoint{H}
\tkzShowLine[bisector,size=2,gap=3,blue](B,A,C)
\tkzShowLine[bisector,size=2,gap=3,blue](C,B,A)
\tkzDrawCircle[color=blue,line width=.2pt](I,H)
\tkzDrawSegments[color=red!50](I,tkzPointResult)
\tkzDrawLines[add=0 and -0.3,color=red!50](A,a B,b)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\pgfdeclarelayer{background}\pgfdeclarelayer{foreground}\pgfsetlayers{background,main,foreground}\definecolor{rosso}{RGB}{220,57,18}
\definecolor{blu}{RGB}{102,140,217}
\tikzset{chart/.style={legend label/.style={font=\scriptsize,anchor=west,align=left}
,legend box/.style={rectangle,draw,minimum size=5pt}},pie chart/.style={chart,slice/.style={line cap=round,line join=round,very thick,draw=white},pie title/.style={font=\bf},slice type/.style 2 args={##1/.style={fill=##2},values of ##1/.style={}}}}\newcommand{\pie}[3][]{
\begin{scope}[#1]
\pgfmathsetmacro{\curA}{90}\node[pie title] at (90:1.3){#2};
\foreach \v/\s in{#3}{\pgfmathsetmacro{\deltaA}{\v*3.6}\pgfmathsetmacro{\nextA}{\curA+\deltaA}\pgfmathsetmacro{\midA}{(\curA+\nextA)/2}\path[slice,\s](0,0)--+(\curA:1)arc(\curA:\nextA:1)--cycle;
\pgfmathsetmacro{\d}{max(1-\deltaA*0.01,0.5)}
\begin{pgfonlayer}
{foreground}\path(0,0)--node[pos=\d,pie values,values of \s]{\s}+(\midA:1);
\end{pgfonlayer}\global\let\curA\nextA}
\end{scope}}\newcommand{\legend}[2][]{
\begin{scope}[#1]
\path
\foreach \n/\s in {#2}{++(0,-10pt)node[\s,legend box]{}+(5pt,0)node[legend label]{\n}};
\end{scope}}
\begin{document}
\begin{tikzpicture}[pie chart,slice type={A}{blu},slice type={B}{rosso},slice type={C}{gray},pie values/.style={font=\small},scale=2]
\pie{Title}{50/A,25/B,25/C}\legend[shift={(0,-1cm)}]{{A (50\,\%)}/A,{B (25\,\%)}/B,{C (25\,\%)}/C}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}[scale = 0.75]
\begin{axis}[xmin=0,xmax=10,ymin=0,ymax=12,nodes near coords,point meta=explicit symbolic]\addplot+[only marks, color = blue] coordinates{(5,4)[] (6.1,4.6)[] (5.65,6.6)[] (4.25,5.2)[]};
\addplot+[only marks, mark = square*] coordinates{(0,1.1)[] (6.8,0.9)[] (5.2,4.9)[]};
\addplot+[only marks, mark=o, color=black] coordinates{(1,5)[$c_1$] (4,2)[$c_2$] (6,8)[$c_3$] (9,3)[$c_4$]};
\draw[shorten >= -10cm, shorten <=-10cm, -, thick](axis cs:0,1)--(axis cs:10,11);
\draw[shorten >= -10cm, shorten <=-10cm, -, thick](axis cs:0,12.345)--(axis cs:10,-4.355);
\draw[shorten >= -10cm, shorten <=-10cm, -, thick](axis cs:0,-16)--(axis cs:10,24);
\draw[shorten >= -10cm, shorten <=-10cm, -, thick](axis cs:0,6.65)--(axis cs:10,3.35);
\draw[shorten >= -10cm, shorten <=-10cm, -, thick](axis cs:0,35)--(axis cs:10,-15);
\draw[shorten >= -10cm, shorten <=-10cm, -, thick](axis cs:0,1)--(axis cs:10,7);
\end{axis}\label{fig:4_intersections_case_1_with_c}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
arrows.meta,
bending,
positioning,
petri
}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm},
transition/.style={rectangle,draw=black!50,fill=black!20,thick,minimum size=4mm}
}
\begin{document}
\tikzset{
pre/.style={<-,shorten <=1pt,>={Stealth[round]},semithick},
post/.style={->,shorten >=1pt,>={Stealth[round]},semithick},
}
\begin{tikzpicture}[bend angle=45, node distance=1.3cm]
\node[place] (waiting) {};
\node[place] (critical) [below=of waiting] {};
\node[place] (semaphore) [below=of critical] {};
\node[transition] (leave critical) [right=of critical] {}
edge [pre] (critical)
edge [post,bend right] node[auto,swap] {2} (waiting)
edge [pre, bend left] (semaphore);
\node[transition] (enter critical) [left=of critical] {}
edge [post] (critical)
edge [pre, bend left] (waiting)
edge [post,bend right] (semaphore);
\end{tikzpicture}
\end{document}
\documentclass[border=5mm,tikz]{standalone}
\usetikzlibrary{decorations.markings}
\tikzset{
->-/.style={decoration={markings, mark=at position 0.2 with {\arrow{stealth}}},
postaction={decorate}},
}
\begin{document}
\tikzset{
->-/.style={decoration={markings, mark=at position 0.2 with {\arrow{stealth}}},
postaction={decorate}},
}
\begin{tikzpicture}[every node/.style={circle,draw},thick]
\node(NL) at (0,0){$N$};
\node(NR) at (2,0){$N$};
\draw[->-](NL.north east)--(NR.north west);
\draw[->-](NR.south west)--(NL.south east);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\pgfplotstableread{
0 0 0.8
1 0 0.56
2 0 0.5
3 0 0.75
0 1 0.6
1 1 0.3
2 1 0.21
3 1 0.3
0 2 0.68
1 2 0.22
2 2 0.25
3 2 0.4
0 3 0.7
1 3 0.5
2 3 0.58
3 3 0.9
}\datafirstCd
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [surf] table{\datafirstCd};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(0,0) node[pigfete] (pigfete) {}
(pigfete.G) node[anchor=east] {G}
(pigfete.D) node[anchor=north] {D}
(pigfete.S) node[anchor=south] {S}
(pigfete.bulk) node[anchor=west] {Bulk};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
arrows.meta,
bending,
positioning,
fit,
backgrounds
}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm},
transition/.style={rectangle,draw=black!50,fill=black!20,thick,minimum size=4mm}
}
\begin{document}
\tikzset{
pre/.style={<-,shorten <=1pt,>={Stealth[round]},semithick},
post/.style={->,shorten >=1pt,>={Stealth[round]},semithick},
}
\begin{tikzpicture}[bend angle=45]
\node[place] (waiting) {};
\node[place] (critical) [below=of waiting] {};
\node[place] (semaphore) [below=of critical] {};
\node[transition] (leave critical) [right=of critical] {}
edge [pre] (critical)
edge [post,bend right] node[auto,swap] {2} (waiting)
edge [pre, bend left] (semaphore);
\node[transition] (enter critical) [left=of critical] {}
edge [post] (critical)
edge [pre, bend left] (waiting)
edge [post,bend right] (semaphore);
\begin{scope}[on background layer]
\node [fill=black!30,fit=(waiting) (critical) (semaphore)
(leave critical) (enter critical)] {};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[obeyDraft, color=lightgray]{todonotes}
\usepackage{amsfonts, amssymb, amsmath, amsthm}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{pgffor}
\usepackage{tcolorbox}
\begin{document}
\begin{tikzpicture}[scale=0.7]
\foreach \a/\b/\r in {0/1/1, 1/1/5, 2/1/9, 0/0/2, 1/0/6, 2/0/5, 3/0/3, 0/-1/5, 1/-1/8, 2/-1/9, 3/-1/7, 4/-1/9, 1/-2/2, 2/-2/3, 3/-2/8, 4/-2/3, 2/-3/1, 3/-3/6, 4/-3/2} {\pgfmathsetmacro{\x}{\a+\b/2}\pgfmathsetmacro{\y}{sqrt(3)/2*\b}\draw[xshift=\x cm, yshift=\y cm, fill=white!90!black, dotted] (0, 0) foreach \i in {0,...,5} {-- ++({30 + 60 * \i}:{sqrt(3)/3})};
\fill[xshift=\x cm, yshift=\y cm, white!30!black, draw=black] (0, {sqrt(3)/3}) -- ++({30 + 60 * (\r-2)}:{sqrt(3)/3}) foreach \i in {0,...,2} {-- ++({30 + 60 * (\i + \r)}:{sqrt(3)/3})} -- cycle;
}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization
[scientific axes={clean, standard labels},
visualize as smooth line,
x axis={label=degree $d$,
ticks={tick unit={}^\circ}},
y axis={label=$\sin d$}]
data [format=function] {
var x : interval [-10:10] samples 10;
func y = sin(\value x);
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\begin{tikzpicture}
\datavisualization [school book axes={unit=10},
visualize as smooth line,
clean ticks,
x axis={label=$x$},
y axis={label=$f(x)$}]
data [format=function] {
var x : interval [-20:20];
func y = \value x*\value x/10;
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{pgf,tikz}
\usetikzlibrary{backgrounds}
\usetikzlibrary{arrows}
\usetikzlibrary{arrows.meta, calc, chains, positioning}
\usepackage{amsfonts,amsmath,latexsym,amssymb}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzpicture}[>=latex',node distance = 1.5cm]
\node (S2) {$v_{1}$};
\node [left of = S2] (S1) {$v_{2}$};
\draw[->,very thick] (S1) to[out=130,in=230,looseness=16] node[left] {e} (S1);
\draw[->,very thick] (S2) to[out=-50,in=50,looseness=16] node[right] {\text{$f_{2}$}} (S2);
\draw [->,very thick] (S1) to node[above] {\text{$f_{1}$}} (S2);
\foreach \n in {S1,S2}\draw[black, thick] (\n) circle (0.27 cm);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
}
\begin{document}
\chemfig{**6(------)}\quad
\chemfig{**[30,330]5(-----)}\quad
\chemfig{**[0,270,dash pattern=on 2pt off 2pt]4(----)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}
\draw (-2,-1) -- ( 2, 4);
\draw (0,4) -- (7,2);
\draw (6,3) -- (3,-2);
\draw (4,-2) -- (-2,0);
\draw (2,1)--(2,1 ) node[above]{special fiber};
\draw (2,1)--(2,1 ) node[below]{at $u_0^3=u_1^2$};
\draw (-2,-.6)--(-2,-.6) node[above]{$p_3$};
\draw (1,3)--(1,3) node[above]{$p_2$};
\draw (5.1,1.9)--(5.1,1.9 ) node[above]{$p_1$};
\draw (2.7,-2.1)--(2.7,-2.1 ) node[above]{$p_4$};
\draw (-.5,1.5)--(-.5,1.5) node[above]{$A$};
\draw (3.6,3.0)--(3.6,3.0) node[above]{$B$};
\draw (1.0,-1.3)--(1.0,-1.3) node[left]{$A_2$};
\draw (4.9,0)--(4.9,0) node[above]{$A_1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[place/.style={circle,draw=blue!50,fill=blue!20,thick,inner sep=0pt,minimum size=6mm},transition/.style={rectangle,draw=black!50,fill=black!20,thick,inner sep=0pt,minimum size=4mm}]
\node at(0,2)[place]{};
\node at(0,1)[place]{};
\node at(0,0)[place]{};
\node at(1,1)[transition]{};
\node at(-1,1)[transition]{};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amsmath,amssymb,amscd,amsxtra,amsthm,verbatim,calc}
\usepackage{tikz}
\usetikzlibrary{cd}
\usetikzlibrary{patterns}
\usetikzlibrary{backgrounds}
\begin{document}
\begin{tikzpicture}[scale = 0.6]
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
\node (a)[point] at (0,0){};
\node (b)[point] at (4,0){};
\node (c)[point] at (4,4){};
\node (d)[point] at (0,4){};
\node (e)[point] at (2,2){};
\draw[black] (a.center) -- (b.center) -- (c.center) -- (d.center) -- cycle;
\draw[black] (a.center) -- (e.center) -- (c.center);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{chains}
\begin{document}
\begin{tikzpicture}[start chain, node distance=5mm]
\node [draw, on chain] {Hello};
\node [draw, on chain] {World};
\node [draw, on chain=going below] {,};
\node [draw, on chain] {this};
\node [draw, on chain] {is};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
colormap={bw}{
gray(0cm)=(0);
gray(1cm)=(1);
},
]
\addplot+ [
scatter,
only marks,
domain=0:8,
samples=100,
] {exp(x)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[dvipsnames]{xcolor}
\usepackage{colortbl}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,calc}
\newcommand{\hc}{\hspace{-.5pt}
,}
\begin{document}
\begin{tikzpicture}[scale=.4]
\node (b) at (0,1) [circle,fill,scale=.35,label={[label distance=-2pt]90:$b\hc\!1$}] {};
\node (i) at (0,0) [circle,fill,scale=.35,label={[label distance=-2pt]-90:$i\hc\!a\!f$}] {};
\draw (i) -- (b);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots,tkz-euclide}
\begin{document}
\begin{tikzpicture}
\begin{axis}[grid=both,minor x tick num=0,minor y tick num=0,width=10cm,height=10cm,axis x line=middle,axis y line=middle,ymin=-3.2,ymax=5.2,xmin=-1.2,xmax=7.2,xlabel=$x$,ylabel=$y$,axis equal image]\node[inner sep=0pt](A)at(axis cs:2,2){};
\node[inner sep=0pt](B)at(axis cs:6,2){};
\node[inner sep=0pt](C)at(axis cs:3,4){};
\draw[color=red,fill=orange](A.center)--(B.center)--(C.center)--cycle;
\draw[fill=cyan](axis cs:2,-2)--(axis cs:6,-2)--(axis cs:3,0)--cycle;
\end{axis}\tkzDrawPoints(A,B,C)\tkzLabelPoints(A,B,C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[usenames, dvipsnames, svgnames]{xcolor}
\usepackage{amsmath, amssymb, graphicx, amsthm, latexsym, amsfonts, enumitem, mathtools, tensor, MnSymbol}
\usepackage[all, color]{xy}
\usepackage{wasysym}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{arrows, decorations.pathmorphing, decorations.pathreplacing, positioning, shapes.geometric, shapes.misc, decorations.markings, decorations.fractals, calc, patterns}
\usepackage{circuitikz}
\newcommand{\rectanglepath}{-- +(1cm,0cm) -- +(1cm,1cm) -- +(0cm,1cm) -- cycle}
\begin{document}
\begin{tikzpicture}
\begin{scope}
\node[draw, minimum size=4cm, regular polygon, regular polygon sides=5] (a) {};
\draw (a.corner 2) -- node[above] {$1$} (a.corner 5) node[currarrow, pos=0.5, xscale=1, sloped]{};
\draw (a.corner 2) -- node[below=2pt] {$2$} (a.corner 4) node[currarrow, pos=0.5, xscale=1, sloped]{};
\draw [color=red, very thick] (a.corner 1) -- node[right=.1pt, scale=1.2] {$\gamma$} (a.corner 3);
\draw (a.corner 2) node[left=4pt]{$1$};
\draw (a.corner 4) node[below]{$3$};
\draw (a.corner 5) node[right]{$4$};
\draw (a.corner 1) node[above, red]{$s=0$};
\draw (a.corner 3) node[below, red]{$t=2$};
\draw (a.side 3) node[below]{$e$};
\draw (a.side 2) node[left]{$a$};
\draw (a.side 1) node[above]{$b$};
\draw (a.side 4) node[right]{$d$};
\draw (a.side 5) node[above]{$c$};
\draw (a.side 3) node[above=5pt]{\tiny $\theta_3$};
\draw (a.side 5) node[left=8pt]{\tiny $\theta_1$};
\draw (a.side 4) node[left=8pt]{\tiny $\theta_2$};
\end{scope}
\begin{scope}[scale=1.3, xshift=3.8cm, yshift=-1cm]
\draw (0,0) \rectanglepath;
\draw (1,0) \rectanglepath;
\draw (-0.2,0.5) node{$b$};
\draw (0.5,-0.2) node{$c$};
\draw (1.5,-0.2) node{$1$};
\draw (2.2,0.5) node{$a$};
\draw (1.2,0.5) node{$d$};
\draw (0.5,1.2) node{$2$};
\draw (1.5,1.2) node{$e$};
\draw (0.2,0.2) node{\tiny $\theta_1$};
\draw (0.8,0.8) node{\tiny $\theta_2$};
\draw (1.2,0.2) node{\tiny $\theta_2$};
\draw (1.8,0.8) node{\tiny $\theta_3$};
\draw (0.5,0.5) node{\Large $1$};
\draw (1.5,0.5) node{\Large $2$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\tikz \datavisualization [
scientific axes, visualize as line,
x axis={ticks={step=24, minor steps between steps=3},
label=hours}]
data {
x, y
0, 0
10, 0
20, 0.5
30, 0.75
40, 0.7
50, 0.6
60, 0.5
70, 0.45
80, 0.47
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
matrix,
arrows.meta
}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}
\matrix (network)
[matrix of nodes,
nodes in empty cells,
nodes={outer sep=0pt,circle,minimum size=4pt,draw},
column sep={1cm,between origins},
row sep={1cm,between origins}]
{
& & & \\
& & & \\
|[draw=none]| & |[xshift=1mm]| & |[xshift=-1mm]| \\
};
\foreach \a in {1,...,4}{
\draw (network-3-2) -- (network-2-\a);
\draw (network-3-3) -- (network-2-\a);
\draw [-stealth] ([yshift=5mm]network-1-\a.north) -- (network-1-\a);
\foreach \b in {1,...,4}
\draw (network-1-\a) -- (network-2-\b);
}
\draw [stealth-] ([yshift=-5mm]network-3-2.south) -- (network-3-2);
\draw [stealth-] ([yshift=-5mm]network-3-3.south) -- (network-3-3);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz} \draw
(0,0) node[njfet] {1}
(-1,2) to[Tnjfet=2] (1,2)
to[Tnjfet=3, mirror] (3,2)
;\end{circuitikz}
\end{document}