AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{amsmath}
\usetikzlibrary{arrows, 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},pre/.style={<-,shorten <=1pt,>=stealth',semithick},post/.style={->,shorten >=1pt,>=stealth',semithick},>=stealth}
\begin{document}
\begin{tikzpicture}[yscale=-1.6,xscale=1.5,thick,every transition/.style={draw=red,fill=red!20,minimum size=3mm},every place/.style={draw=blue,fill=blue!20,minimum size=6mm}]
\foreach \i in {1,...,6} {\node[place,label=left:$p_\i$] (p\i) at (0,\i) {};
\node[place,label=right:$q_\i$] (q\i) at (8,\i) {};
}\foreach \name/\var/\vala/\valb/\height/\x in {m1/m_1/f/t/2.25/3,m2/m_2/f/t/2.25/5,h/\mathit{hold}/1/2/4.5/4} {\node[place,label=above:{$\var = \vala$}] (\name\vala) at (\x,\height) {};
\node[place,yshift=-8mm,label=below:{$\var = \valb$}] (\name\valb) at (\x,\height) {};
}\node[token] at (p1) {};
\node[token] at (q1) {};
\node[token] at (m1f) {};
\node[token] at (m2f) {};
\node[token] at (h1) {};
\node[transition] at (1.5,1.5) {} edge [pre] (p1) edge [post] (p2);
\node[transition] at (1.5,2.5) {} edge [pre] (p2) edge[pre] (m1f) edge [post](p3) edge[post] (m1t);
\node[transition] at (1.5,3.3) {} edge [pre] (p3) edge [post] (p4) edge [pre and post] (h1);
\node[transition] at (1.5,3.7) {} edge [pre] (p3) edge [pre] (h2) edge [post] (p4) edge [post] (h1.west);
\node[transition] at (1.5,4.3) {} edge [pre] (p4) edge [post] (p5) edge [pre and post] (m2f);
\node[transition] at (1.5,4.7) {} edge [pre] (p4) edge [post] (p5) edge [pre and post] (h2);
\node[transition] at (1.5,5.5) {} edge [pre] (p5) edge [pre] (m1t) edge [post] (p6) edge [post] (m1f);
\node[transition] at (1.5,6.5) {} edge [pre] (p6) edge [post] (p1.south east);
\node[transition] at (6.5,1.5) {} edge [pre] (q1) edge [post] (q2);
\node[transition] at (6.5,2.5) {} edge [pre] (q2) edge [pre] (m2f) edge [post] (q3) edge [post] (m2t);
\node[transition] at (6.5,3.3) {} edge [pre] (q3) edge [post] (q4) edge [pre and post] (h2);
\node[transition] at (6.5,3.7) {} edge [pre] (q3) edge [pre] (h1) edge [post] (q4) edge [post] (h2.east);
\node[transition] at (6.5,4.3) {} edge [pre] (q4) edge [post] (q5) edge [pre and post] (m1f);
\node[transition] at (6.5,4.7) {} edge [pre] (q4) edge [post] (q5) edge [pre and post] (h1);
\node[transition] at (6.5,5.5) {} edge [pre] (q5) edge [pre] (m2t) edge [post] (q6) edge [post] (m2f);
\node[transition] at (6.5,6.5) {} edge [pre] (q6) edge [post] (q1.south west);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{decorations.pathreplacing,angles,quotes}
\begin{document}
\begin{tikzpicture}
\draw[color = red] (0, 0) -- (0.9, 0);
\draw[color = red] (1.1, 0) -- (1.9, 0);
\draw[color = red] (0, 0) -- (0, 0.9);
\draw[color = red] (0, 0) -- (1, 1);
\draw[color = red] (1.05, 0.05) -- (1.95, 0.95);
\draw[dashed] (2, 0.1) -- (2, 0.9);
\draw[dashed] (1.9, 1) -- (0.1, 1);
\draw[dashed] (1, 0.1) -- (1, 1);
\filldraw[color = red] (0, 0) circle (2pt);
\draw (1, 0) circle (2pt);
\draw (2, 0) circle (2pt);
\draw (2, 1) circle (2pt);
\draw (0, 1) circle (2pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3mm]{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{groupplots}
\pgfplotsset{compat=1.16}
\begin{document}
\begin{tikzpicture}[declare function={fleft(\x)=2.5-0.5*(2-\x)*(2-\x);
fright(\x)=\x;
}]
\begin{groupplot}[group style={group size=2 by 1,horizontal sep=3em},width=7cm,height=6cm,xmin=0,xmax=4,ymin=0,xtick={0,1,...,4},ytick={0,1,...,4},axis lines=middle,xlabel={},samples=51]\nextgroupplot[domain=1:4,ymax=2.8,legend style={at={(0.05,0.1)},anchor=south west}]\addplot[smooth,dashed,blue]{fleft(x)+0.2};
\addplot[smooth,dashed,blue]{fleft(x)-0.2};
\addplot[smooth,thick]{fleft(x)};
\addplot[smooth,red,thick,samples=101]{fleft(x)+0.1*sin(x*540)};
\legend{$f+\varepsilon$,$f-\varepsilon$,$f$,$f_N$}\nextgroupplot[domain=0:4,legend style={at={(0.05,0.95)},anchor=north west}]\addplot[smooth,dashed,blue]{fright(x)+0.2};
\addplot[smooth,dashed,blue]{fright(x)-0.2};
\addplot[smooth,thick]{fright(x)};
\addplot[smooth,red,thick,samples=101]{fright(x)+0.1*sin(x*540)};
\legend{$f+\varepsilon$,$f-\varepsilon$,$f$,$f_{10}$}
\end{groupplot}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xbar, xmin=0,
width=12cm, height=3.5cm, enlarge y limits=0.5,
xlabel={\#participants},
symbolic y coords={no,yes},
ytick=data,
nodes near coords, nodes near coords align={horizontal},
]
\addplot coordinates {(3,no) (7,yes)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\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},
new/.style={color=orange,line width=.2pt}
}
\begin{document}
\begin{tikzpicture}[scale=.6]
\tkzDefPoint(0,0){A}
\tkzDefPoint(3,0){B}
\tkzDefPoint(1,2.5){C}
\tkzDefCircle[ex](A,B,C) \tkzGetPoints{I}{i}
\tkzDefCircle[ex](C,A,B) \tkzGetPoints{J}{j}
\tkzDefCircle[ex](B,C,A) \tkzGetPoints{K}{k}
\tkzDefCircle[in](B,C,A) \tkzGetPoints{O}{o}
\tkzDrawCircles[new](J,j I,i K,k O,o)
\tkzDrawLines[add=1.5 and 1.5](A,B A,C B,C)
\tkzDrawPolygon[purple](I,J,K)
\tkzDrawSegments[new](A,K B,J C,I)
\tkzDrawPoints(A,B,C)
\tkzDrawPoints[new](I,J,K)
\tkzLabelPoints(A,B,C,I,J,K)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{er}
\begin{document}
\begin{tikzpicture}[level distance=1cm,sibling distance=1cm]
\node[entity](sheep){Sheep}child{node[attribute]{name}}child{node[attribute]{color}};
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}
\clip(-3.6593270712778567,-2.6796850995853734) rectangle (4.392471953927827,2.772429935419367);
\draw [->,line width=1pt] (0,0) -- (4,2);
\draw [line width=1pt] (0,0)-- (-2,-1);
\draw [line width=1pt] (2.75,1.5)-- (2.78474075768685,1.4210640423044958);
\draw [line width=1pt] (0.7363201646420022,0.3681600823210011)-- (0.715252084409844,0.41029624278531734);
\draw [line width=1pt] (-2,-1)-- (-3,-1.5);
\draw [->,line width=1pt] (0,0) -- (4,0);
\draw [->,line width=1pt] (0,0) -- (0,2);
\draw [line width=1pt] (0,0)-- (0,-2);
\draw [line width=1pt] (0,0)-- (-3,0);
\draw (3.562,1.833) node[anchor=north west] {$e^{i\beta}\mathbb{R}$};
\draw (3.,0.073) node[anchor=north west] {$\mathbb{R}$};
\draw (-0.13,1.4) node[anchor=north west] {$|\hat{f}_i|e^{i\beta}=\hat{f}_i$};
\draw (1.,2.7) node[anchor=north west] {$|\hat{g}_i|e^{i\beta}=(\frac{3}{2}+1)|\hat{f}_i|e^{i\beta}$};
\draw (-0.7,1.923) node[anchor=north west] {$i\mathbb{R}$};
\draw[->] (2,0) arc (0:30:1.8cm);
\draw (2.,0.7) node[anchor=north west] {$\beta$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[level distance=1cm]
\node[draw](a)at(0,0){root}[growth parent anchor=south]child;
\node[draw](b)at(2,0){root}[growth parent anchor=north east]child;
\draw[red,thick,dashed](a.south)--(a-1);
\draw[red,thick,dashed](b.north east)--(b-1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [
jump mark mid,
] coordinates {
(0,0.1) (0.1,0.15) (0.2,0.5) (0.3,0.62)
(0.4,0.56) (0.5,0.58) (0.6,0.65) (0.7,0.6)
(0.8,0.58) (0.9,0.55) (1,0.52)
};
\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{R-C-[::-60]O-[::-60]C-[::-60]R}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\pgfplotsset{
every axis plot post/.append style={
mark=triangle,
every mark/.append style={rotate=90},
},
}
\begin{tikzpicture}
\begin{axis}[y=2cm]
\addplot coordinates {
(-2,0) (-1,1) (0,0) (1,1) (2,0)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amsmath,amssymb}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.45]
\draw[thick] (0,0) -- (1,1) --(2,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{tikzpicture}
\draw (0,-3) -- (0,3);
\draw [fill = blue] (1,0) circle [radius=0.1cm];
\draw [dashed] (1,0) circle [radius=2cm];
\draw [fill = red] (-1,0) circle [radius=0.1cm];
\draw [dashed] (-1,0) circle [radius=2cm];
\draw [->, rotate around={35:(1,0)}] (1,0) -- (1,-2);
\node[align=left] at (1.35,-1) {$r_c$};
\draw [dotted] (-1,0) -- (1,0);
\draw [black] (-0.2,-2.1) to (-0.2,-2.1) node[ground]{};
\draw [black] (0,-2.1) -- (-0.2,-2.1);
\draw (0,0) -- (0:0.3cm) arc (-15:90:0.3cm);
\draw [fill=black] (0.15,0.15) circle [radius=0.025];
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{*5(-=--=)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz,pgfplots}
\def\addlegendimage{\csname pgfplots@addlegendimage\endcsname}
\pgfplotsset{/pgfplots/xlabel near ticks/.style={/pgfplots/every axis x label/.style={at={(ticklabel cs:0.5)}
,anchor=near ticklabel}},/pgfplots/ylabel near ticks/.style={/pgfplots/every axis y label/.style={at={(ticklabel cs:0.5)},rotate=90,anchor=near ticklabel}}}
\begin{document}
\begin{tikzpicture}
\begin{axis}[height=4cm,width=4.5cm,ymax=1.75,ymin=0.25,xticklabel style={font=\tiny,yshift=0ex},yticklabel style={font=\tiny},x tick label style={at={(0.5,-0.25)},rotate=50,anchor=east},xlabel style={yshift=-50pt},ylabel style={yshift=-15pt},scatter/classes={original={mark=*,blue,mark size=1.5},ensemble={mark=*,red,mark size=1.5}},symbolic x coords={ADA-foreign,ADA-telephone,ADA-sex,BAGGING-sex,BAGGING-foreign,BAGGING-telephone,RF-foreign,RF-telephone,RF-sex,LR-sex,LR-foreign,LR-telephone},xtick=data,legend pos=outer north east,legend cell align=left]\coordinate (A) at (axis cs:LR-sex,1);
\coordinate (O1) at (rel axis cs:0,0);
\coordinate (O2) at (rel axis cs:1,0);
\draw [black,dashed] (A -| O1) -- (A -| O2);
\addplot[scatter,only marks,scatter src=explicit symbolic] coordinates {(LR-sex,0.849359271)[original](LR-telephone,0.864121023)[original](LR-foreign,1.214889379)[original](LR-sex,0.959621195)[ensemble](LR-telephone,0.97183826)[ensemble](LR-foreign,1.194554362)[ensemble](ADA-foreign,1.300982463)[original](ADA-telephone,0.900865707)[original](ADA-sex,0.891417561)[original](ADA-foreign,1.299226694)[ensemble](ADA-telephone,0.936517708)[ensemble](ADA-sex,0.956704502)[ensemble](RF-foreign,1.269206632)[original](RF-sex,0.892525903)[original](RF-telephone,0.827486983)[original](RF-foreign,1.169987668)[ensemble](RF-sex,0.91750353)[ensemble](RF-telephone,0.937906564)[ensemble](BAGGING-foreign,1.115267077)[original](BAGGING-telephone,0.90420676)[original](BAGGING-sex,0.946822337)[original](BAGGING-foreign,1.172875646)[ensemble](BAGGING-telephone,0.974407285)[ensemble](BAGGING-sex,0.954525823)[ensemble]};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[axis lines*=right,samples=5, domain=-4:4,xtick=data, ytick=data]\addplot3 [surf] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
3d box=complete,
grid=major,
title={3d box=complete},
samples=5, domain=-4:4,
xtick=data, ytick=data,
]
\addplot3 [surf] {x*y};
\end{axis}
\end{tikzpicture}
~
\begin{tikzpicture}
\begin{axis}[
3d box=complete*,
grid=major,
title={3d box=complete*},
samples=5, domain=-4:4,
xtick=data, ytick=data,
]
\addplot3 [surf] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{latexsym,amssymb,amsthm,xcolor}
\usepackage[centertags]{amsmath}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{pgffor}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw[->] (-0.3,0) -- (7,0);
\draw (8,0) node[below] {$\gamma$};
\draw[->] (0,-0.3) -- (0,5) node[left] {$b_{1+\gamma}$};
\draw (2,.1) -- (2,-.1) node[below] {$p(\rho)-1$};
\draw[dashed] (2,0) -- (2,1.8);
\draw[dashed] (0,2) -- (2,2);
\draw (-.1,2) -- (.1,2) node[left] {$b_\#(\rho)\;
$};
\draw (6,.1) -- (6,-.1) node[below] {$1$};
\draw (-0.1,1) -- (0.1,1) node[left] {$b_2\;
$};
\draw (0,3.5) .. controls (2,1.8) and (3,1.2) .. (6,1);
\draw[dashed] (0,1) -- (6,1);
\fill[color=white] (0,3.5) circle (3pt);
\draw[color=black] (0,3.5) circle (3pt);
\fill[color=black] (0,4.3) circle (3pt) node[left] {$b_\ast$};
\end{tikzpicture}
\end{document}
\documentclass[12pt,border=2pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\must}{{\overset{\mu}{*}}}
\begin{document}
\begin{tikzpicture}[scale=0.9]
\node (A) at (0,2) {$(\Q[\mu]\langle Y\rangle,\must)$};
\node (B) at (-2,0) {$(R_{\text{RDS}},\cdot)$};
\node (C) at (2,0) {$(R,\cdot)$};
\draw[->] (A) to node[pos=.8,above] {$Z^{\text{RDS}}_{*}\ \ $}(B);
\draw[->] (A) to node[pos=.8,above] {$\ \ Z^{R}_{*}$}(C);
\draw[->] (B) to node[pos=.55,below] {$\varphi^R_{*}$}(C);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts,amsthm,amssymb,latexsym,mathrsfs,enumerate,pgfplots,tikz-cd,tkz-graph,multirow,booktabs,mathtools}
\usetikzlibrary{decorations.markings,automata,arrows,positioning,calc}
\begin{document}
\begin{tikzpicture}
\begin{scope}[every node/.style={coordinate,draw}]
\node (A) at (canvas polar cs: angle=18, radius=2cm) {$v_1$};
\node (B) at (canvas polar cs: angle=90, radius=2cm) {$v_2$};
\node (C) at (canvas polar cs: angle=162, radius=2cm) {$v_3$};
\node (D) at (canvas polar cs: angle=234, radius=2cm) {$v_4$};
\node (E) at (canvas polar cs: angle=306, radius=2cm) {$v_5$};
\end{scope}
\begin{scope}[>={Stealth[black]
}, every node/.style={fill=white,circle}, every edge/.style={draw=black, thick}]
\path [->] (A) edge node {$m_2$} (B);
\path [->] (B) edge node {$m_3$} (C);
\path [->] (C) edge node {$m_4$} (D);
\path [->] (D) edge node {$m_5$} (E);
\path [->] (E) edge node {$m_1$} (A);
\path [->, every loop/.style={min distance=2cm, in=-18,out=72}] (A) edge[loop] (A);
\path [->, every loop/.style={min distance=2cm, in=54,out=144}] (B) edge[loop left] (B);
\path [->, every loop/.style={min distance=2cm, in=126,out=216}] (C) edge[loop right] (C);
\path [->, every loop/.style={min distance=2cm, in=198,out=288}] (D) edge[loop below] (D);
\path [->, every loop/.style={min distance=2cm, in=270,out=360}] (E) edge[loop right] (E);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsfonts, amsmath, amsthm}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[node/.style={circle, inner sep = 0, outer sep= 2},]
\node (title) at (0.75, -0.75) {$Q_k$ if $k$ even};
\node[node] (0) [] {0};
\node[node] (1) [right=of 0] {1};
\node[node] (0') [above=of 0] {0'};
\node[node] (1') [above=of 1] {1'};
\draw[->] (1) to (0);
\draw[->] (0) to (1');
\draw[->] (0) to (0');
\draw[->] (1') to (1);
\draw[->] (0') to (1);
\node[font = \small] () at (0.75, -0.2) {$2$};
\node[rotate = 45, font = \small] () at (0.35, 0.6) {$k$};
\node[rotate = 90, font = \small] () at (-0.2, 0.75) {$k$+1};
\node[rotate = -90, font = \small] () at (1.6, 0.75) {$k-$1};
\node[rotate = -45, font = \small] () at (0.6, 1.1) {$k$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amssymb,amsmath,amsthm}
\usepackage[table]{xcolor}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, fit,calc,positioning,decorations.pathreplacing,matrix, patterns}
\begin{document}
\begin{tikzpicture}
\node at (0,0) (z) {$Z$};
\node at (3,1.1) (m) {$M_1$};
\node at (3,0) (m2) {$M_2$};
\node at (6, 0) (y) {$Y$};
\node at (1,2.5) (x1) {$X^{MIV}$};
\draw[->] (z) edge [bend left = 22.5] (m) (m) edge [bend left = 22.5] (y) (z) edge [bend right = 35] (y);
\draw[->, dashed, color = blue] (x1) edge [bend right = 20] (1, -.5);
\draw[->, dash dot, color = red] (x1) edge [bend left = 20] (2, 0.1);
\draw[->, dash dot, color = red] (x1) edge [bend left = 20] (4, 0.1);
\draw[->] (x1) edge [bend left = 30] (y);
\draw[->] (x1) edge [bend left = 10] (m2);
\draw[->] (x1)--(1.25, .95);
\draw[->] (z)--(m2);
\draw[->] (m2)--(y);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (0,0) circle [radius=1cm];
\draw (0,0) rectangle (0.5,0.5);
\draw (-0.5,-0.5) rectangle (-1,-1);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.10}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[
width=7cm, height=11cm,
scale only axis,
xmin=0, xmax=90,
xmajorgrids,
ymin=0.1, ymax=10,
ymajorgrids, yminorgrids
]
\addplot[name path=fun1, domain=1:89, red]{ tan(x)/( cos(x)*( 1 + 3.3*((tan(x))^2) ) ) };
\addplot[name path=fun2, domain=1:78.89, blue]{ 1.1*tan(x)*(1/cos(x)) };
\addplot[name path=fun3, domain=1:89, brown]{ 0.145*( ( 1 + 3.3*(tan(x))^2 ) / sin(x) ) };
\addplot[name path=fun4, domain=1:89, orange]{ 4 };
\path[name path=intermediate, intersection segments={of=fun2 and fun3, sequence=A0 -- B1}];
\path[name path=segments, intersection segments={of=intermediate and fun4, sequence=A0 -- B1}];
\addplot[gray, fill opacity=0.25] fill between[of=segments and fun1];
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[->,shorten >=1pt,auto,node distance=2cm,
thick,main node/.style={circle,draw,font=\bfseries}]
\node[main node] (1) {$1$};
\node[main node] (2) [right of=1] {$2$};
\node[main node] (3) [below right of=2] {$3$};
\node[main node] (4) [below left of=3] {$4$};
\node[main node] (5) [left of=4] {$5$};
\node[main node] (6) [below left of=1] {$6$};
\path
(1) edge (2) edge(3) edge (4) edge (5) edge (6)
(2) edge (3) edge (4) edge (5) edge (6)
(3) edge (4) edge (5) edge (6)
(4) edge (5) edge (6)
(5) edge (6);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{fillbetween}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmin=-2,xmax=7,
ymin=0,ymax=1.5,
axis x line=middle,
axis y line=middle,
axis line style=-,
xlabel={$x$},
ylabel={$y$},
]
\addplot[no marks, black, -] expression [domain=-2:3, samples=100] {exp(-0.5*(x-2)^2)} node [pos=-0.5,anchor=north east]{};
\addplot[no marks, black, -] expression [domain=3:7, samples=100] {exp(-0.5*(x-4)^2)} node [pos=-0.5, anchor=north east]{};
\addplot+[no marks, blue, thick, -, name path=f1, domain=3:7, samples=1000] expression [] {exp(-0.5*(x-2)^2)} node [pos=0,anchor=north east]{};
\addplot+[no marks, blue,thick, -, name path=f2, domain=-2:3, samples=1000] expression [] {exp(-0.5*(x-4)^2)} node [pos=0, anchor=north east]{};
\draw (2,1) ++(90:0.2cm) ++(90:0.25cm) node [fill=none](fk1){$f_1(x)$};
\draw (4,1) ++(90:0.2cm) ++(90:0.25cm) node [fill=none](fk2){$f_2(x)$};
\path [name path=xAxis] (\pgfkeysvalueof{/pgfplots/xmin},0) -- (\pgfkeysvalueof{/pgfplots/xmax},0);
\addplot [blue!20!white] fill between[of=f1 and xAxis, soft clip second={domain=3:7}];
\addplot [blue!20!white] fill between[of=f2 and xAxis, soft clip second={domain=-2:3}];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\pgfplotstableread{
level dof error1 error2 info grad(log(dof),log(error2)) quot(error1)
1 4 2.50000000e-01 7.57858283e-01 48 0 0
2 16 6.25000000e-02 5.00000000e-01 25 -3.00000000e-01 4
3 64 1.56250000e-02 2.87174589e-01 41 -3.99999999e-01 4
4 256 3.90625000e-03 1.43587294e-01 8 -5.00000003e-01 4
5 1024 9.76562500e-04 4.41941738e-02 22 -8.49999999e-01 4
6 4096 2.44140625e-04 1.69802322e-02 46 -6.90000001e-01 4
7 16384 6.10351562e-05 8.20091159e-03 40 -5.24999999e-01 4
8 65536 1.52587891e-05 3.90625000e-03 48 -5.35000000e-01 3.99999999e+00
9 262144 3.81469727e-06 1.95312500e-03 33 -5.00000000e-01 4.00000001e+00
10 1048576 9.53674316e-07 9.76562500e-04 2 -5.00000000e-01 4.00000001e+00
}\datapgfplotstableexampleA
\pgfplotstableread{
level dof error1 error2 info grad(log(dof),log(error2)) quot(error1)
1 4 2.50000000e-01 7.57858283e-01 48 0 0
2 16 6.25000000e-02 5.00000000e-01 25 -3.00000000e-01 4
3 64 1.56250000e-02 2.87174589e-01 41 -3.99999999e-01 4
4 256 3.90625000e-03 1.43587294e-01 8 -5.00000003e-01 4
5 1024 9.76562500e-04 4.41941738e-02 22 -8.49999999e-01 4
6 4096 2.44140625e-04 1.69802322e-02 46 -6.90000001e-01 4
7 16384 6.10351562e-05 8.20091159e-03 40 -5.24999999e-01 4
8 65536 1.52587891e-05 3.90625000e-03 48 -5.35000000e-01 3.99999999e+00
9 262144 3.81469727e-06 1.95312500e-03 33 -5.00000000e-01 4.00000001e+00
10 1048576 9.53674316e-07 9.76562500e-04 2 -5.00000000e-01 4.00000001e+00
}\datapgfplotstableexampleAa
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}
\addplot table [x=dof,y=error2]
{\datapgfplotstableexampleA};
\addlegendentry{$y(x)$}
\addplot table [
x=dof,
y={create col/linear regression={
y=error2,
variance list={1000,800,600,500,400},
}}
] {\datapgfplotstableexampleAa};
\addlegendentry{slope
$\pgfmathprintnumber{\pgfplotstableregressiona}$}
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[enlarge x limits=false]\addplot [red,samples=500] {sin(deg(x))};
\addplot [orange,samples=7] {sin(deg(x))};
\addplot [teal,const plot,samples=14] {sin(deg(x))};
\end{axis}
\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,
x axis={unit length=1mm per 1000000000 units, ticks=few},
visualize as line]
data {
x, y
10000000000, 10
40000000000, 20
15000000000, 30
13000000000, 20
};
\end{document}