AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[level/.style={sibling distance=30mm/#1, level distance = 1.1cm}]
\node [circle,draw] (z){$1$}
child {node [circle,draw] (a) {$2$}
child {node [circle,draw] (b) {$4$}
child [grow=left] {node (q) [xshift = -0.8cm] {level 2} edge from parent[draw=none]
child [grow=up] {node (r) {level 1} edge from parent[draw=none]
child [grow=up] {node (s) {level 0} edge from parent[draw=none]
}
}
}
}
child {node [circle,draw] (g) {$5$}
}
}
child {node [circle,draw] (j) {$3$}
child {node [circle,draw] (k) {$6$}
}
child {node [circle,draw] (l) {$7$}
}
};
\node at (1.2,0.1) {\scriptsize $\mathcal{I}_1=1:400$};
\node at (2.5,-0.6) {\scriptsize $\mathcal{I}_3=201:400$};
\node at (3.1,-1.7) {\scriptsize $\mathcal{I}_7=301:400$};
\node at (-1.8,-0.6) {\scriptsize $\mathcal{I}_2=1:200$};
\node at (0.,-1.7) {\scriptsize $\mathcal{I}_5=101:200$};
\node at (-2.7,-1.7) {\scriptsize $\mathcal{I}_4=1:100$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[most]{tcolorbox}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\usetikzlibrary{intersections}
\usetikzlibrary{calc}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{decorations.text}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{backgrounds}
\usetikzlibrary{math}
\usepackage{pgfplots}
\pgfplotsset{width=12cm,compat=1.14}
\begin{document}
\begin{tikzpicture} [
scale=0.3,
node font=\large,
framed,
background rectangle/.style={draw, rounded corners, Frame Color},
inner frame sep=2ex,
double arrow/.style={Stealth[length=#1]}-{Stealth[length=#1]},
coord axis/.style = {very thin, double arrow=3mm, opacity=0.2},
latitude/.style = {Latitude Color},
horizon plane/.style = {Horizon Plane Color, line width=1pt},
dashed line/.style = {dash pattern=on 3pt off 2pt, opacity=0.5},
right angle style/.style = {line width=1.5pt},
sun/.style = {Sun Color, opacity=1},
sun ray/.style = {sun, line width=1.8pt},
]
\definecolor{Latitude Color}{HTML}{ef0006}
\definecolor{Horizon Plane Color}{HTML}{00b800}
\definecolor{Sun Color}{HTML}{ffe400}
\definecolor{Frame Color}{HTML}{d8d8d8}
\def\R{12}
\def\latitudeXRadius{11.1}
\def\latitudeYRadius{5.5}
\def\angleB{24}
\def\pointRadius{6pt}
\def\rightAngleSize{0.6}
\def\sunRadius{0.4}
\def\sunRayStart{\sunRadius*1.5}
\def\sunRayLength{\sunRadius}
\draw[name path=sphere] (0, 0) coordinate(O) circle[radius=\R];
\draw[coord axis] (1.5*\R, 0) -- (-1.5*\R, 0) node[below=3pt, opacity=1] {$z$};
\draw[coord axis, name path=y axis] (0, -1.35*\R) -- (0, 1.35*\R) node[right=3pt, opacity=1] {$y$};
\node[left] at (19, -3) {$x = \odot$};
\draw[latitude, name path=latitude circle] (0, -\R*0.32) circle[x radius=\latitudeXRadius, y radius=\latitudeYRadius];
\path [name intersections={of=latitude circle and y axis, sort by=y axis, by={D, A}}];
\filldraw (A) circle[radius=\pointRadius] node[above right=2pt and -1pt] {$A$};
\coordinate (B) at (180+\angleB:\R);
\coordinate (B') at (-\angleB:\R);
\fill (B) circle[radius=\pointRadius] node[below left=2pt and 0pt] {$B$};
\def\angleBPrime{-38}
\fill (B') circle[radius=\pointRadius] node[below right=-1pt and -3pt] {$B'$};
\path [thick, postaction={decorate, decoration={raise=1.2ex, text along path, text color=Latitude Color, text align=center, text={|\small|LATITUDE}}}] (D) arc[x radius=\latitudeXRadius, y radius=\latitudeYRadius, start angle=270, end angle=320];
\draw[horizon plane] (O) (B) -- ([turn]90:15);
\draw[horizon plane] (O) (B) -- ([turn]-90:18) node[sloped, above right=5pt and 0pt, pos=1, inner sep=0pt, black, node font=\small] {HORIZON PLANE};
\draw[dashed line] (B) -- ($(O)!(B)!(-\R, 0)$) coordinate (C);
\fill (C) circle[radius=\pointRadius] node[above=4pt] {$C$};
\draw[right angle style] (C) ++(-\rightAngleSize, 0) -- ++(0, -\rightAngleSize) -- ++(\rightAngleSize, 0);
\fill[white] (O) circle[radius=\sunRayStart+\sunRayLength+0.25];
\foreach \a in {0, 45,...,315} \draw[sun ray, rotate=\a] (\sunRayStart, 0) -- +(\sunRayLength, 0);
\fill[sun] (O) circle [radius=\sunRadius];
\node[below right=5pt and 4pt] at (O) {$O$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[scale=2]
\node (1a) at (0,1) {$\bullet$};
\node (2a) at (0,0) {$\bullet$};
\node (3a) at (.5,.5) {$\bullet$};
\node (4a) at (1.25,.69) {$\bullet$};
\node (5a) at (1.25,.31) {$\bullet$};
\node (6a) at (1.75,1) {$\bullet$};
\node (7a) at (1.75,0) {$\bullet$};
\node (C34) at (.875,-.2) {$C_{34}$};
\path[font=\small,>=angle 90] (1a) edge (2a) (1a) edge (3a) (2a) edge (3a) (4a) edge (5a) (4a) edge (6a) (4a) edge (7a) (5a) edge (6a) (5a) edge (7a) (6a) edge (7a) (1a) edge (4a) (1a) edge (6a) (2a) edge (7a) (3a) edge (4a) (3a) edge (5a) (3a) edge (7a);
\node (1b) at (2.5,1) {$\bullet$};
\node (2b) at (2.5,0) {$\bullet$};
\node (3b) at (3,.5) {$\bullet$};
\node (4b) at (3.75,.69) {$\bullet$};
\node (5b) at (3.75,.31) {$\bullet$};
\node (6b) at (4.25,1) {$\bullet$};
\node (7b) at (4.25,0) {$\bullet$};
\node (C35) at (3.375,-.2) {$C_{35}$};
\path[font=\small,>=angle 90] (1b) edge (2b) (1b) edge (3b) (2b) edge (3b) (4b) edge (5b) (4b) edge (6b) (4b) edge (7b) (5b) edge (6b) (5b) edge (7b) (6b) edge (7b) (1b) edge (4b) (1b) edge (5b) (1b) edge (6b) (2b) edge (7b) (3b) edge (4b) (3b) edge (5b);
\node (1c) at (5,1) {$\bullet$};
\node (2c) at (5,0) {$\bullet$};
\node (3c) at (5.5,.5) {$\bullet$};
\node (4c) at (6.25,.69) {$\bullet$};
\node (5c) at (6.25,.31) {$\bullet$};
\node (6c) at (6.75,1) {$\bullet$};
\node (7c) at (6.75,0) {$\bullet$};
\node (C36) at (5.875,-.2) {$C_{36}$};
\path[font=\small,>=angle 90] (1c) edge (2c) (1c) edge (3c) (2c) edge (3c) (4c) edge (5c) (4c) edge (6c) (4c) edge (7c) (5c) edge (6c) (5c) edge (7c) (6c) edge (7c) (1c) edge (4c) (1c) edge (5c) (1c) edge (6c) (2c) edge (7c) (3c) edge (5c) (3c) edge (7c);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [blue,name path=A,domain=0:1]
{sin(360*x)};
\addplot [red, name path=B,domain=0:1,samples=2]
{0.5};
\addplot [orange] fill between [of=A and B];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\usetikzlibrary{decorations.pathmorphing}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{A-[,3,,,decorate,decoration=snake]B}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}
\draw[help lines](0,0)grid(3,2);
\draw(0,0)--(1,1)--(1,0);
\draw[shift={(1,1)},blue](0,0)--(1,1)--(1,0);
\draw[shift={(30:1cm)},red](0,0)--(1,1)--(1,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}
\node (a) at (0:1) {$a$};
\node (b) at (90:1) {$b$} edge [->] (a);
\node (c) at (180:1) {$c$} edge [->] (a)
edge [<-] (b);
\node (d) at (270:1) {$d$} edge [->] (a)
edge [dotted] (b)
edge [<-] (c);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[level distance=1cm,level 1/.style={sibling distance=2cm},level 2/.style={sibling distance=5mm}]
\node{root}child{child child}child{child child child};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmin=-3, xmax=3,
ymin=-3, ymax=3,
extra x ticks={-1,1},
extra y ticks={-2,2},
extra tick style={grid=major},
]
\draw [red] \pgfextra{
\pgfpathellipse{\pgfplotspointaxisxy{0}{0}}
{\pgfplotspointaxisdirectionxy{1}{0}}
{\pgfplotspointaxisdirectionxy{0}{2}}
};
\draw [blue] \pgfextra{
\pgfpathellipse{\pgfplotspointaxisxy{0}{0}}
{\pgfplotspointaxisdirectionxy{1}{1}}
{\pgfplotspointaxisdirectionxy{0}{2}}
};
\addplot [only marks,mark=*] coordinates
{ (0,0) };
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{ABCD-[:75]EFG}\quad
\chemfig{ABCD-[:-85]EFG}\quad
\chemfig{ABCD-[1]EFG}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
width=7cm,
height=5cm,
align=center,
xticklabels={},
ymax=1.1,xmax=3.5,
ymin=0,xmin=0,
axis lines*=center,
ytick={0.25, 0.5, 0.75, 1},
xtick={1,2,3},
xlabel shift=0.4cm]
\addplot+[blue,thick,mark=none] coordinates {(0, 0.9) (3, 0.9)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=1pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath, amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[baseline={(0, -0.1)}]
\draw (0.4, 0) circle (.2);
\draw (1.2, 0) circle (.2);
\draw (2.0, 0) circle (.2);
\fill (0.4, 0) circle (2pt);
\draw (0.6, 0) -- (1.0, 0);
\draw (1.4, 0) -- (1.8, 0);
\node at (0.8, -0.2) {\small $0$};
\node at (1.6, -0.2) {\small $0$};
\draw[<-] (0.65, 0.15) -- (0.95, 0.15);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[table]{xcolor}
\usepackage{tikz}
\newcommand{\bxi}{\boldsymbol{\xi}
}
\begin{document}
\begin{tikzpicture}
\draw [thick] (0,0) -- (4,0) -- (2,3) -- (0,0);
\draw [thick] (4,0) -- (2,3) -- (5.5,3.5) -- (4,0);
\draw [thick,->] (3,1.5) -- (3.6,1.9);
\draw [thick,red,->] (3,1.5) -- (3.4,2.7);
\node at (2.7,0.5) {$K$};
\node at (4,1.2) {$K'$};
\node at (3.6,1.9) [above] {$\mathbf{n}$};
\node at (3.4,2.7) [left] {{\color{red}$\bxi$}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\usetikzlibrary{trees}
\begin{document}
\begin{tikzpicture}[thick]
\path (0,0) node (root) {$a$} -- +(0,.3) node[right]{$q_0$}
-- +(-.8,-.5) node (0) {$c$}
-- ++(.5,-.5) node (1) {$a$} -- +(0,.3) node[right]{$q_1$}
-- +(-.8,-.5) node (10) {$c$}
-- ++(.8,-.8) node (k+1) {$a$} -- +(0,.3) node[right]{$q_k=q$}
-- +(-.8,-.5) node (k+10) {$d$}
-- ++(.8,-.8) node (k+p+1) {$a$} -- +(0,.3) node[right]{$q_{k+p}=q$}
-- +(-.8,-.5) node (k+p+10) {$c/d$}
-- ++(.8,-.8) node (k+2p+1) {$a$} -- +(0,.3) node[right]{$q_{k+2p}=q$}
-- +(-.8,-.5) node (k+2p+10) {$c$}
-- ++(.8,-.8) node (k+3p) {$a$} -- +(0,.3) node[right]{$q_{k+3p}$}
-- +(-.8,-.5) node (k+3p0) {$c$}
-- ++(.5,-.5) node (k+3p1) {$c$};
\draw[-] (root) edge (0) edge (1)
(1) edge (10) edge[dotted] (k+1)
(k+1) edge (k+10) edge[dotted] (k+p+1)
(k+p+1) edge (k+p+10) edge[dotted] (k+2p+1)
(k+2p+1) edge (k+2p+10) edge[dotted] (k+3p)
(k+3p) edge (k+3p0) edge (k+3p1);
\end{tikzpicture}
\end{document}
\documentclass[border=4mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
[->, >=stealth', auto, thick,
main node/.style=
{circle, fill=black!30, draw, minimum size=.3cm, inner sep=0pt]},
scale=2
]
\newcommand\vx{0.5}
\newcommand\vy{.5}
\node[main node] (*) at (-\vx, 0 ) {$*$};
\node[main node] (n) at ( \vx, \vy) {$n$};
\node[main node] (m) at (\vx, -\vy) {$m$};
\node (x_1) at (-2*\vx,-\vy) {$x_1 $};
\node (x_mid) at (-2*\vx,0) {$... $};
\node (x_i) at (-2*\vx,\vy) {$x_i$};
\node (y_1) at (4*\vx,\vy) {$y_1$};
\node (y_mid) at (4*\vx,0) {$...$};
\node (y_j) at (4*\vx,-\vy) {$y_j$};
\node [draw,circle,minimum size=6mm] (kink) at (2*\vx,0) {};
\path[-]
(*)
edge node {} (m)
edge node {} (n);
\begin{scope}[every path/.style={->}]
\draw (*) --(x_1);
\draw (*) -- (x_mid);
\draw (*) -- (x_i);
\draw (*) -- ([yshift=1mm]kink.center) -- (y_1);
\draw (*) -- (y_mid);
\draw (*) -- ([yshift=-1mm]kink.center) -- (y_j);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\tikz \datavisualization [
school book axes, visualize as line/.list={a,b},
style sheet=vary dashing,
a={label in legend={text=a}}, b={label in legend={text=b}}]
data point [x=-1, y=-1, set=a] data point [x=1, y=0, set=a]
data point [x=-1, y=1, set=b] data point [x=1, y=0.5, set=b];
\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,fill=teal]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{every picture/.style={line width=.2pt},new/.style={color=orange,line width=.2pt},label angle style/.append style={color=teal,font=\footnotesize},label style/.append style={below,color=teal,font=\scriptsize},line style/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}
\tkzDefPoints{0/0/A,3/0/B}
\tkzDefPointOnLine[pos=1.2](A,B)\tkzGetPoint{P}
\tkzDefPointOnLine[pos=-0.2](A,B)\tkzGetPoint{R}
\tkzDefPointOnLine[pos=0.5](A,B) \tkzGetPoint{S}
\tkzDrawLine[new,add=0 and 0](A,B)
\tkzDrawPoints(A,B,P)
\tkzLabelPoints(A,B)
\tkzLabelPoint[above](P){pos=$1.2$}
\tkzLabelPoint[above](R){pos=$-.2$}
\tkzLabelPoint[above](S){pos=$.5$}
\tkzDrawPoints(A,B,P,R,S)
\tkzLabelPoints(A,B)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title={$x \exp(-x^2-y^2)$},
xlabel=$x$, ylabel=$y$,
small,
]
\addplot3 {exp(-x^2-y^2)*x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization
[scientific axes=clean,
every visualizer/.style={dashed},
visualize as smooth line]
data [format=function] {
var x : interval[0:3*pi];
func y = sin(\value x r);
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[colorbar right]
\addplot [mesh,thick,samples=150,domain=0.1:3] {1/x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{level distance=1cm,sibling distance=1cm}
\begin{document}
\begin{tikzpicture}
\node{root}child{[fill] circle (2pt)}child{[fill] circle (2pt)};
\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}
\tkzDefPoints{-2/-3/A,4/0/B,1/3/C}
\tkzDefPointBy[projection= onto A--B](C)
\tkzGetPoint{H}
\tkzDrawSegment(C,H)
\tkzMarkRightAngle(C,H,A)
\tkzDrawSegments[vector style](A,B A,C)
\tkzDrawPoints(A,H) \tkzLabelPoints(A,B,H)
\tkzLabelPoints[above](C)
\tkzDotProduct(A,B,C) \tkzGetResult{pabc}
\let\pabc\pgfmathresult
\node at (1,-3) {$\overrightarrow{PA}\cdot \overrightarrow{PB}=\pabc$};
\tkzDotProduct(A,H,B) \tkzGetResult{phab}
\let\phab\pgfmathresult
\node at (1,-4) {$PA \times PH = \phab $};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{siunitx}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, v=$v_1$, i=$i_1$] (2,0);
\draw (0,-1) to[R, v=$v_1$, i=$i_1$, voltage shift=0.5] (2,-1);
\draw (0,-2) to[R, v=$v_1$, i=$i_1$, voltage shift=1.0] (2,-2);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [name path=A, samples=15, domain=0:1]
{cos(360*x)}
coordinate[pos=0.25] (nodeA0)
coordinate[pos=0.75] (nodeA1)
;
\draw [name path=B] (nodeA0) -- (nodeA1);
\addplot [fill=none]
fill between [of=A and B,
split,
every segment no 1/.style={fill, orange},
];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\pgfplotsset{
table/search path={.,plotdata}
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
const plot,
stack plots=y,
area style,
enlarge x limits=false,
]
\addplot coordinates
{(0,1) (1,1) (2,2) (3,2)}
\closedcycle;
\addplot coordinates
{(0,1) (1,1) (2,2) (3,2)}
\closedcycle;
\addplot coordinates
{(0,1) (1,1) (2,2) (3,2)}
\closedcycle;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsthm,amsfonts}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\fill[black!30] (2.27,1.06)--(0,0)--(2.27,-1.06) arc (-25:25:2.5);
\draw (2.27,1.06)--(0,0)--(2.27,-1.06);
\fill[black!30] (1.27,1.27)--(0.49,0.49) arc (45:315:0.7)--(1.27,-1.27) arc (315:45:1.8);
\draw (1.27,1.27)--(0.49,0.49) arc (45:315:0.7)--(1.27,-1.27) arc (315:45:1.8);
\draw (-0.1,1.15) node[anchor=center] {\small{zeros of $q$}};
\draw (0.8,0) arc (0:25:0.8) (0.6,-0.05) node[anchor=south] {\small{$\omega$}};
\draw (1.2,0) arc (0:35:1.2) (0.95,0) node[anchor=south] {\small{$\varphi$}};
\draw (1.6,0) arc (0:45:1.6) (1.35,0.1) node[anchor=south] {\small{$\theta$}};
\draw (1.8,-0.05) node[anchor=north] {\large{$\sigma_S(T)$}};
\draw (-1.2,-0.05) node[anchor=north] {\large{$U_{\varepsilon,R}$}};
\draw[->] (-2.3,0)--(2.9,0);
\draw[->] (0,-2.3)--(0,2.3) node[anchor=east] {\large{$\mathbb{C}_J$}};
\draw[thick] (1.64,1.15)--(0.41,0.29) arc (35:325:0.5)--(1.64,-1.15) arc (325:35:2);
\draw[thick,->] (1.64,1.15)--(0.82,0.57);
\draw(0.95,0.55) node[anchor=south east] {\small{$\gamma_{\varepsilon,R}$}};
\draw[thick,->] (0.41,-0.29)--(1.06,-0.75);
\draw(1.2,-0.7) node[anchor=north east] {\small{$\gamma_{\varepsilon,R}$}};
\draw[thick,->] (-0.45,0.19)--(-0.46,0.17);
\draw (-0.41,0.17) node[anchor=west] {\small{$\tau_\varepsilon$}};
\draw[thick,->] (-1.84,0.78)--(-1.85,0.76);
\draw (-1.8,0.76) node[anchor=east] {\small{$\tau_R$}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{
decorations.markings,
shapes.arrows,
}
\usepgfplotslibrary{
fillbetween,
}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [name path=A,domain=0:1,samples=2] {x};
\addplot+ [name path=B] table {
x y
0 2
0.5 -1
1 3
};
\addplot fill between [of=A and B,
split,
every even segment/.style={
postaction={decorate},
decoration={
markings,
mark=between positions 0 and 1
step 1cm with {
\node [single arrow,fill=orange,
single arrow head extend=3pt,
transform shape]
{};
},
},
},
];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\usepackage{xcolor}
\begin{document}
\tikz [scale=.55] \datavisualization
[scientific axes=clean, all axes={ticks=few},
visualize as smooth line=my data, my data={gap cycle}]
data [format=function] {
var t : interval [0:4] samples 5;
func x = cos(\value t r);
func y = sin(\value t r);
};
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{graphs}
\begin{document}
\newcount\leftshorecount\newcount\rightshorecount\newcount\mycount\newcount\myothercount\def\zigzag{\tikzgraphpreparecolor{left shore}
\leftshorecount{left shore prefix}\tikzgraphpreparecolor{right shore}\rightshorecount{right shore prefix}\mycount=0\loop\advance\mycount by1\tikzgraphsset{new ->={\csname left shore prefix\the\mycount\endcsname}{\csname right shore prefix\the\mycount\endcsname}{}{}}\myothercount=\mycount\advance\myothercount by1\tikzgraphsset{new <-={\csname left shore prefix\the\myothercount\endcsname}{\csname right shore prefix\the\mycount\endcsname}{}{}}\ifnum\myothercount<\leftshorecount\repeat}
\begin{tikzpicture}
\graph[color class=left shore,color class=right shore]{[operator=\zigzag]{[left shore,Cartesian placement]a,b,c},{[right shore,Cartesian placement,nodes={xshift=1cm}]d,e,f}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[table]{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw(-4/3-1,{-sqrt(3)})--(-4/3-1,{-4/3-sqrt(3)})--(8/3+1/2,{-4/3+1/2*sqrt(3)})--(8/3+1/2,{4+1/2*sqrt(3)})--cycle--(-4/3+1/2,{1/2*sqrt(3)})--(8/3+1/2,{4+1/2*sqrt(3)});
\draw[dashed](-4/3-1,{-4/3-sqrt(3)})--(-4/3+1/2,{-4/3+1/2*sqrt(3)})--(8/3+1/2,{-4/3+1/2*sqrt(3)});
\draw[dashed](-4/3+1/2,{-4/3+1/2*sqrt(3)})--(-4/3+1/2,{1/2*sqrt(3)});
\draw[gray,dashed](0,4/3)--(0,0)--(4/3,0);
\draw[gray,->](4/3,0)--(4.5,0)node[below]{$u_1$};
\draw[gray,->](0,4/3)--(0,4)node[left]{$h$};
\draw[gray,dashed](0,0)--(-1/2,{-1/2*sqrt(3)});
\draw[gray,->](-1/2,{-1/2*sqrt(3)})--(-2.25,{-2.25*sqrt(3)})node[right]{$u_2$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\makeatletter\pgfdeclareshape{document}{\inheritsavedanchors[from=rectangle]\inheritanchorborder[from=rectangle]\inheritanchor[from=rectangle]{center}\inheritanchor[from=rectangle]{north}\inheritanchor[from=rectangle]{south}\inheritanchor[from=rectangle]{west}\inheritanchor[from=rectangle]{east}\backgroundpath{\southwest \pgf@xa=\pgf@x \pgf@ya=\pgf@y \northeast \pgf@xb=\pgf@x \pgf@yb=\pgf@y \pgf@xc=\pgf@xb \advance\pgf@xc by-5pt \pgf@yc=\pgf@yb \advance\pgf@yc by-5pt \pgfpathmoveto{\pgfpoint{\pgf@xa}{\pgf@ya}}\pgfpathlineto{\pgfpoint{\pgf@xa}{\pgf@yb}}\pgfpathlineto{\pgfpoint{\pgf@xc}{\pgf@yb}}\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@yc}}\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@ya}}\pgfpathclose\pgfpathmoveto{\pgfpoint{\pgf@xc}{\pgf@yb}}\pgfpathlineto{\pgfpoint{\pgf@xc}{\pgf@yc}}\pgfpathlineto{\pgfpoint{\pgf@xb}{\pgf@yc}}\pgfpathlineto{\pgfpoint{\pgf@xc}{\pgf@yc}}}}\makeatother
\begin{document}
\begin{tikzpicture}
\node[shade,draw,shape=document,inner sep=2ex] (x) {Remark};
\node[fill=yellow!80!black,draw,ellipse,double] at ([shift=(-80:3cm)]x) (y) {Use Case};
\draw[dashed] (x) -- (y);
\end{tikzpicture}
\end{document}