AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsfonts,amssymb,amsthm, tikz}
\begin{document}
\begin{tikzpicture}[scale = 1.2]
\draw (0,-3)--(0,3) ;
\draw (8,-3)--(8,3) ;
\draw (0,0) -- (8,0);
\draw (0,0) node[left]{(0,0)} ;
\draw (8,0) node[right]{(1,0)} ;
\draw (1.7,0) node[below]{$X_0^0$} ;
\draw (5.7,0) node[below]{$X_1^0$} ;
\draw (4,-0.2) node[below]{$X$} ;
\draw [color=blue](1,2.5) node {$H_0^{-1}(\{0\})$} ;
\draw[color=red][line width=2pt][domain=0:1][samples=250] plot (2*\x,2* abs{sin(pi*\x/2 r)} );
\draw[color=red][line width=2pt][domain=1:2][samples=250] plot (2*\x,-2* abs{sin(pi*\x/2 r)} );
\draw[color=red][line width=2pt][domain=2:3][samples=250] plot (2*\x,3* abs{sin(pi*\x/2 r)} );
\draw[color=red][line width=2pt][domain=3:4][samples=250] plot (2*\x,-3* abs{sin(pi*\x/2 r)} );
\draw [color=red] [line width=2pt](2,2* abs{sin(pi*1/2 r)})--(2,-2* abs{sin(pi*1/2 r)}) ;
\draw [color=red] [line width=2pt](6,3* abs{sin(pi*1/2 r)})--(6,-3* abs{sin(pi*1/2 r)}) ;
\draw [color=blue][domain=0:2][samples=250] plot (2*\x,2* abs{sin(pi*\x/2 r)} );
\draw[color=blue][domain=0:2][samples=250] plot (2*\x,-2* abs{sin(pi*\x/2 r)} );
\draw[color=blue][domain=2:4][samples=250] plot (2*\x,3* abs{sin(pi*\x/2 r)} );
\draw[color=blue][domain=2:4][samples=250] plot (2*\x,-3* abs{sin(pi*\x/2 r)} );
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amsthm, amssymb, tikz}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,x=1.8cm,y=1.8cm]
\draw[-] (0,0) -- (2,0)--(2,1)--(1,1)--(1,2)--(0,2)--cycle;
\node[anchor=north] at (.5,0) {$1$};
\node[anchor=south] at (.5,2) {$1$};
\node[anchor=north] at (1.5,0) {$2$};
\node[anchor=south] at (1.5,1) {$2$};
\node[anchor=east] at (0,1.5) {$3$};
\node[anchor=west] at (1,1.5) {$3$};
\node[anchor=east] at (0,.5) {$4$};
\node[anchor=west] at (2,.5) {$4$};
\fill[blue] (0,0) circle (3pt);
\fill[blue] (1,0) circle (3pt);
\fill[blue] (1,1) circle (3pt);
\fill[blue] (2,0) circle (3pt);
\fill[blue] (1,2) circle (3pt);
\fill[blue] (0,2) circle (3pt);
\fill[blue] (0,1) circle (3pt);
\fill[blue] (2,1) circle (3pt);
\draw [decorate,decoration = {brace}] (-.25,0) -- (-.25,2);
\node[anchor=east] at (-.25,1) {$\lambda$};
\draw [decorate,decoration = {brace}] (2,-.25) -- (0,-.25);
\node[anchor=north] at (1,-.25) {$\lambda$};
\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,
all axes={ticks={style=blue}, length=3cm},
y axis={grid, grid={minor steps between steps, major={style=red}}},
visualize as line]
data [format=function] {
var x : interval [5:10];
func y = \value x * \value x;
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usetikzlibrary{shapes.geometric,decorations.markings}
\begin{document}
\begin{tikzpicture}
\node [trapezium, trapezium right angle=45, trapezium left angle=75, minimum size=30mm, draw, thick, label=above:7cm, label=below:16cm, label=right:9cm, label=left:8cm] (trapezium) at (0,0) {};
\draw [thick, dashed] (1.7,1.5) -- (5,1.5);
\draw [thick, dashed, ->] (4.7,-1.5) -- (4.7,1.5);
\node [right] at (4.7,0) {4 m};
\path [postaction={decoration={markings, mark=at position 0.5 with {\arrow{latex}}}, decorate}] ([yshift=-\pgflinewidth]trapezium.top left corner) -- ([yshift=-\pgflinewidth]trapezium.top right corner);
\path [postaction={decoration={markings, mark=at position 0.5 with {\arrow{latex}}}, decorate}] ([yshift=\pgflinewidth]trapezium.bottom left corner) -- ([yshift=\pgflinewidth]trapezium.bottom right corner);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\large
\fboxsep=0pt
\renewcommand\printatom[1]{\fbox{\ensuremath{\mathrm{#1}}}}
\chemfig{A-\chemskipalign.B-C}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tkz-euclide}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\providecolor{teal}{rgb}{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}
,label angle style/.append style={color=teal,font=\footnotesize},label style/.append style={below,color=teal,font=\scriptsize}}
\begin{document}

\begin{tikzpicture}[rotate=-90]
\tkzDefPoint(0,1){A}\tkzDefPoint(2,4){C}\tkzDefPointWith[orthogonal normed,K=7](C,A)\tkzGetPoint{B}\tkzDefSpcTriangle[orthic,name=H](A,B,C){a,b,c}\tkzDrawSegment[dashed,color=magenta](C,Hc)\tkzDrawSegment[green!60!black](A,C)\tkzDrawSegment[green!60!black](C,B)\tkzDrawSegment[green!60!black](B,A)\tkzLabelPoint[left](A){$A$}\tkzLabelPoint[right](B){$B$}\tkzLabelPoint[above](C){$C$}\tkzLabelPoint[left](Hc){$Hc$}\tkzLabelSegment[auto](B,A){$c$}\tkzLabelSegment[auto,swap](B,C){$a$}\tkzLabelSegment[auto,swap](C,A){$b$}\tkzMarkAngle[size=1,color=cyan,mark=|](C,B,A)\tkzMarkAngle[size=1,color=cyan,mark=|](A,C,Hc)\tkzMarkAngle[size=0.75,color=orange,mark=||](Hc,C,B)\tkzMarkAngle[size=0.75,color=orange,mark=||](B,A,C)\tkzMarkRightAngle(A,C,B)\tkzMarkRightAngle(B,Hc,C)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\ctikzset{
quadpoles/transformer/width=1,
quadpoles/transformer/height=2
}
\draw (0,0) node[transformer] (T) {}
(T.base) node{K}
(T.inner dot A1) node[circ]{}
(T.inner dot B2) node[circ]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,tikz}
\begin{document}
\begin{tikzpicture}
\draw [<-](-2.8,0)--(-2.2,0);
\draw [-](-4,0)--(-2.8,0);
\draw [->](-1.4,0)--(-0.6,0);
\draw [->](-2.2,0)--(-1.4,0);
\draw [->](-2.2,-1.5)--(-2.2,-0.7);
\draw [-](-2.2,-0.7)--(-2.2,0);
\draw [->](-2.2,1.5)--(-2.2,0.7);
\draw [-](-2.2,0.7)--(-2.2,0);
\draw [->](-2.2,0.7)--(-2.2,1.5);
\node [thick] [above] at (-1.5,0.8){\footnotesize $k_n$};
\node [thick] [above] at (-1.4,0.7){\footnotesize $\centerdot$};
\node [thick] [above] at (-1.5,-1.5){\footnotesize $k_n^*$};
\node [thick] [above] at (-1.4,-1.1){\footnotesize $\centerdot$};
\node [thick] [above] at (-2.9,0.8){\footnotesize $-k_n^*$};
\node [thick] [above] at (-2.9,0.7){\footnotesize $\centerdot$};
\node [thick] [above] at (-2.9,-1.4){\footnotesize $-k_n$};
\node [thick] [above] at (-2.9,-1.1){\footnotesize $\centerdot$};
\node [thick] [above] at (-2.2,1.5){\footnotesize ${\rm Im}k$};
\node [thick] [above] at (-0.3,-0.2){\footnotesize ${\rm Re}k$};
\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]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{every picture/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=.75]
\tkzDefPoint(0,0){O}
\tkzDefPoint(-4,0){A}
\tkzDefPoint(4,0){B}
\tkzDefPoint(-2,0){I}
\tkzDefPoint(2,0){J}
\tkzDrawSector[fill=teal](O,A)(B)
\tkzFillCircle[fill=white](J,B)
\tkzFillCircle[fill=teal](I,A)
\tkzDrawCircle(O,A)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[grid=major]
\addplot3 [
surf,
shader=faceted,
samples=25,
domain=0:2,
y domain=0:1,
] {exp(-x) * sin(pi*deg(y))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[cmex10]{amsmath}
\usepackage{amssymb,amsthm}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (113.07,74.05) -- (155.62,137.81) -- (113.07,137.81) -- cycle ;
\draw (75.02,88.27) -- (93.04,136.37) -- (57,136.37) -- cycle ;
\draw [line width=3] [line join = round][line cap = round] (75.02,89.23) .. controls (75.02,89.23) and (75.02,89.23) .. (75.02,89.23) ;
\draw [line width=3] [line join = round][line cap = round] (113.07,74.05) .. controls (113.07,74.05) and (113.07,74.05) .. (113.07,74.05) ;
\draw (75.02,88.27) -- (113.07,74.05) ;
\draw (253.72,92.28) -- (278,144.88) -- (229.44,144.88) -- cycle ;
\draw (195.44,92.28) -- (219.72,144.88) -- (171.16,144.88) -- cycle ;
\draw [line width=3] [line join = round][line cap = round] (195.73,91.44) .. controls (195.73,91.44) and (195.73,91.44) .. (195.73,91.44) ;
\draw [line width=3] [line join = round][line cap = round] (254,92.28) .. controls (254,92.28) and (254,92.28) .. (254,92.28) ;
\draw [line width=3] [line join = round][line cap = round] (226.58,71.4) .. controls (226.58,71.4) and (226.58,71.4) .. (226.58,71.4) ;
\draw (195.44,92.28) -- (226.58,71.4) ;
\draw (226.58,71.4) -- (253.72,92.28) ;
\draw (85.04,62.89) node [anchor=north west][inner sep=0.75pt] {$a_{i}$};
\draw (64.27,112.53) node [anchor=north west][inner sep=0.75pt] {$s_{0}^{( l)}$};
\draw (116.33,114.13) node [anchor=north west][inner sep=0.75pt] {$s_{i+1}^{( r)}$};
\draw (53.81,154.67) node [anchor=north west][inner sep=0.75pt] {$Tie_{i}\left( s_{0}^{( l)} ,\ s_{i+1}^{( r)}\right)$};
\draw (182.66,116.66) node [anchor=north west][inner sep=0.75pt] {$s_{0}^{( l)}$};
\draw (243.36,117.5) node [anchor=north west][inner sep=0.75pt] {$s_{0}^{( r)}$};
\draw (172.01,64.47) node [anchor=north west][inner sep=0.75pt] {$a_{\mid S\mid-2}$};
\draw (235.29,61.64) node [anchor=north west][inner sep=0.75pt] {$a_{\mid S \mid-1}$};
\draw (172.86,156.25) node [anchor=north west][inner sep=0.75pt] {$Tie_{\mid S \mid-2}\left( s_{0}^{( l)} ,\ s_{0}^{( r)}\right)$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,tikz}
\begin{document}
\begin{tikzpicture}[scale=1.2,x=1pt,y=1pt]
\filldraw[white](0,-7.5)rectangle(111,22.5);
\draw(0,15)node[left]{$A$}--(111,15);
\draw(0,0)node[left]{$B$}--(111,0);
\draw(9,15)--(9,0);
\begin{scope}
\draw[fill=white](9,0)circle(3pt);
\clip(9,0)circle(3pt);
\draw(6,0)--(12,0);
\draw(9,-3)--(9,3);
\end{scope}\filldraw(9,15)circle(1.5pt);
\filldraw[white](24,-6)rectangle(39,21);
\node at(31.5,7.5){$\sim$};
\begin{scope}
\draw[fill=white](57,15)+(-45:8.485281pt)--+(45:8.485281pt)--+(135:8.485281pt)--+(225:8.485281pt)--cycle;
\clip(57,15)+(-45:8.485281pt)--+(45:8.485281pt)--+(135:8.485281pt)--+(225:8.485281pt)--cycle;
\node at(57,15){$H$};
\end{scope}
\begin{scope}
\draw[fill=white](57,0)+(-45:8.485281pt)--+(45:8.485281pt)--+(135:8.485281pt)--+(225:8.485281pt)--cycle;
\clip(57,0)+(-45:8.485281pt)--+(45:8.485281pt)--+(135:8.485281pt)--+(225:8.485281pt)--cycle;
\node at(57,0){$H$};
\end{scope}\draw(78,15)--(78,0);
\begin{scope}
\draw[fill=white](78,15)circle(3pt);
\clip(78,15)circle(3pt);
\draw(75,15)--(81,15);
\draw(78,12)--(78,18);
\end{scope}\filldraw(78,0)circle(1.5pt);
\begin{scope}
\draw[fill=white](99,15)+(-45:8.485281pt)--+(45:8.485281pt)--+(135:8.485281pt)--+(225:8.485281pt)--cycle;
\clip(99,15)+(-45:8.485281pt)--+(45:8.485281pt)--+(135:8.485281pt)--+(225:8.485281pt)--cycle;
\node at(99,15){$H$};
\end{scope}
\begin{scope}
\draw[fill=white](99,0)+(-45:8.485281pt)--+(45:8.485281pt)--+(135:8.485281pt)--+(225:8.485281pt)--cycle;
\clip(99,0)+(-45:8.485281pt)--+(45:8.485281pt)--+(135:8.485281pt)--+(225:8.485281pt)--cycle;
\node at(99,0){$H$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{trees}
\begin{document}
\begin{tikzpicture}[edge from parent fork down,level distance=6cm,sibling distance=6cm]
\node{\tikz\draw(0,0)grid(3,3);
}child{node{\tikz\draw(0,0)grid(3,3);
}}child{node{\tikz\draw(0,0)grid(3,3);
}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor,colortbl}
\usepackage{tikz}
\usetikzlibrary{arrows,calc,positioning,backgrounds,fit,shapes,shadows,trees}
\tikzset{ basic/.style = {draw,rectangle,font=\sffamily\fontsize{12}
{12}\selectfont}, root/.style = {basic, font=\sffamily\fontsize{12}{12}\selectfont, rounded corners=2pt, thin, align=center, fill=orange!30}, level 0/.style = {basic, font=\sffamily\fontsize{12}{12}\selectfont, rounded corners=2pt, thin, align=center, fill=blue!10}, level 1/.style = {basic, font=\sffamily\fontsize{12}{12}\selectfont, thin, align=left, fill=yellow!30}, level 2/.style = {basic, font=\sffamily\fontsize{12}{12}\selectfont, rounded corners=2pt, thin, align=left, fill=yellow!30}, level 3/.style = {basic, font=\sffamily\fontsize{12}{12}\selectfont, rounded corners=2pt, thin, align=left, fill=blue!20, text width=12em}, level 4/.style = {basic, font=\sffamily\fontsize{12}{12}\selectfont, thin, align=center, fill=green!30}, level 5/.style = {basic, font=\sffamily\fontsize{12}{12}\selectfont, thin, align=center, fill=orange!30}, level 6/.style = {basic, rectangle, font=\sffamily\fontsize{12}{12}\selectfont, thin, align=center, fill=cyan!20}, level 7/.style = {basic, font=\sffamily\fontsize{12}{12}\selectfont, thin, draw=white, align=center}, boxaround/.style={draw=violet, font=\sffamily\fontsize{12}{12}\selectfont, thick, dashdotted, inner sep=0.8em}, >=latex }
\begin{document}
\begin{tikzpicture}[auto, scale=1.2]
\node[level 5] (Hdr) at (2,3.2) [shape=rectangle,draw,align=center]{Algorithmic C\\Headers};
\node[level 5] (AlgoC) at (2,1.7) [shape=rectangle,draw,align=center]{Algorithmic C\\Source};
\node[level 0] (C++) at (1,0) [shape=rectangle,draw,align=center]{C++\\Compiler};
\node[level 0] (HW) at (3,0) [shape=rectangle,draw,align=center]{Hardware\\Synthesis};
\node[level 2] (Xlate) at (4.7,1.7) [shape=rectangle,draw,align=center]{ACL2\\Translator};
\node[level 4] (Lemmas) at (7,3.2) [shape=rectangle,draw,align=center]{Lemmas};
\node[level 2] (ACL2) at (7,1.7) [shape=rectangle,draw,align=center]{ACL2\\Theorem\\Prover};
\node[level 4] (Proofs) at (7,0.1) [shape=rectangle,draw,align=center]{Proofs};
\draw [->,thick] (Hdr) to node {\textit{\#include}} (AlgoC);
\draw [->,thick] (AlgoC) to (C++);
\draw [->,thick] (AlgoC) to (HW);
\draw [->,thick] (AlgoC) to (Xlate);
\draw [->,thick] (Xlate) to (ACL2);
\draw [->,thick] (Lemmas) to (ACL2);
\draw [->,thick] (ACL2) to (Proofs);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\begin{tikzpicture}[scale=0.5,baseline=(current bounding box.center)]
\node[circle,draw,fill=yellow!70] (1) at (0.0,-1.0) {};
\node[circle, draw] (2) at (-1.0,0.0) {};
\node[circle, draw] (3) at (0.0,0.0) {};
\node[circle, draw] (4) at (1.0,0.0) {};
\graph {(2) -> (1);
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[-, shorten >=1pt, node distance=1.25cm, thick, every state/.style={fill=white, draw=black, text=black}]
\node[state] (1) {$1$};
\node[state] (2) [right of=1] {$2$};
\node[state] (3) [right of=2] {$3$};
\path (1) edge (2) (2) edge (3);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,shadows,arrows}
\begin{document}
\begin{tikzpicture}[root/.style={circle, draw=none, rounded corners=1mm, fill=green, circular drop shadow, text centered, anchor=north, text=black}, main/.style={circle, draw=none, rounded corners=1mm, fill=pink, circular drop shadow, text centered, anchor=north, text=black}, fact/.style={rectangle, draw=none, rounded corners=1mm, fill=blue, drop shadow, text centered, anchor=north, text=white}, state/.style={circle, draw=none, fill=orange, circular drop shadow, text centered, anchor=north, text=white}, leaf/.style={circle, draw=none, fill=red, circular drop shadow, text centered, anchor=north, text=white}, level distance=0.5cm, growth parent anchor=south]
\node (State00) [main] {Question} [->] child{ [sibling distance=9cm] node (State01) [state] {One} child{ node (Fact02) [fact] {yes} child{ [sibling distance=4cm] node (State02) [leaf] {Good} } } child{ [sibling distance=4cm] node (Fact10) [fact] {no} child{ node (State10) [state] {Two} child{ node (Fact11) [fact] {yes} child{ node (State11) [leaf] {Good} } } child{ node (Fact12) [fact] {no} child{ node (State11) [leaf] {Bad} } } } } };
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[scale=1.2, american]\draw
(0,2) to[I=1<\milli\ampere>] (2,2)
to[R, l_=2<\kilo\ohm>, *-*] (0,0)
to[R, l_=2<\kilo\ohm>] (2,0)
to[V, v_=2<\volt>] (2,2)
to[cspst, l=$t_0$] (4,2) -- (4,1.5)
to [generic, i=$i_1$, v=$v_1$] (4,-.5) -- (4,-1.5)
(0,2) -- (0,-1.5) to[V, v_=4<\volt>] (2,-1.5)
to [R, l=1<\kilo\ohm>] (4,-1.5);
\begin{scope}[xshift=6.5cm, yshift=.5cm]
\draw [->] (-2,0) -- (2.5,0) node[anchor=west] {$v_1/\si{\volt}$};
\draw [->] (0,-2) -- (0,2) node[anchor=west] {$i_1/\si{\milli\ampere}$} ;
\draw (-1,0) node[anchor=north] {-2} (1,0) node[anchor=south] {2}
(0,1) node[anchor=west] {4} (0,-1) node[anchor=east] {-4}
(2,0) node[anchor=north west] {4}
(-1.5,0) node[anchor=south east] {-3};
\draw [thick] (-2,-1) -- (-1,1) -- (1,-1) -- (2,0) -- (2.5,.5);
\draw [dotted] (-1,1) -- (-1,0) (1,-1) -- (1,0)
(-1,1) -- (0,1) (1,-1) -- (0,-1);
\end{scope}
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\tikz[x={(0cm,1cm)},y={(-1cm,0cm)}]
\draw (0,0) -- (30:1) -- (60:1) -- (90:1)
-- (120:1) -- (150:1) -- (180:1);
\end{document}
\documentclass[tikz,border=3mm]{standalone}
\begin{document}
\begin{tikzpicture}[font=\sffamily,samples=101,domain=-3*pi/2:3*pi/2]
\draw[thick,blue,trig format=rad]plot(\x,{cos(\x)})node[right]{use \texttt{trig format=rad}};
\draw[thick,red,yshift=-1cm]plot(\x,{cos(deg(\x))})node[right]{use \texttt{deg} function};
\draw[thick,magenta,yshift=-2cm]plot(\x,{cos(\x r)})node[right]{append an \texttt{r} to the argument};
\draw[thick,orange,yshift=-3cm](-3*pi/2,0)sin(-pi,-1)cos(-pi/2,0)sin(0,1)cos(pi/2,0)sin(pi,-1)cos(3*pi/2,0)node[right]{use \texttt{sin} and \texttt{cos} path construction};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{mathtools, amssymb}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{arrows}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}[{black, circle, draw, inner sep=0}]
\tikzset{nodes={draw,rounded corners}
,minimum height=0.8cm,minimum width=0.8cm, font=\footnotesize}\node (Xp) at (0,0) {$ X^{1}_{t-}$} ;
\node (Yp) at (0,1) {$ X^{2}_{t-}$} ;
\node (Zp) at (0,-1) {$ X^{3}_{t-}$};
\node (Wp) at (0,2) {$ X^{4}_{t-}$};
\node (Xt) at (1.5,0) {$ X^{1}_{t}$} ;
\node (Yt) at (1.5,1) {$ X^{2}_{t}$} ;
\node (Zt) at (1.5,-1) {$ X^{3}_{t}$};
\node (Wt) at (1.5,2) {$ X^{4}_{t}$};
\draw[->,>=latex] (Xp) -- (Yt);
\draw[->,>=latex] (Xp) -- (Zt);
\draw[->,>=latex] (Yp) -- (Wt);
\draw[->,>=latex] (Zp) to [out=125,in=195, looseness=1.6] (Wt);
\node[above,draw=none] at (current bounding box.north) {${4ts}_{t>0}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,-2) node[rground](gnd){}
to[voltage source, v<={HV}] ++(0,3)
-- ++(1,0)
to[V, n=DC] ++(2,0);
\draw (2,-1) node[magnetron](magn){};
\draw (DC.left) ++(-0.2,0) to [short, *-] ++(0,-1) to [short] (magn.cathode1);
\draw (DC.right) ++(0.2,0) to [short, *-] ++(0,-1) to [short] (magn.cathode2);
\draw (magn.anode) to [short] (magn.anode|-gnd) node[rground]{};
\draw (magn.cathode1) node[above]{$1$};
\draw (magn.cathode2) node[above]{$2$};
\draw[->] (magn.east) -- ++(1,0) node[right]{$RF_{out}$};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\begin{axis}
[
ybar,
bar width=5pt,
legend style={at={(0.5, 0.97)},
anchor=north,legend columns=-1},
ylabel={Improvement Over Control \%},
ylabel style={yshift=-10pt, inner sep=-1pt},
symbolic x coords={1,2,3,4},
xtick=data,
xticklabels={{Blend (13,6,6B)}, GPT3.5 (175B), Vicuna+ (13B), ChaiLLM (6B)},
xticklabel style={rotate=80, anchor=east},
xtick pos=left,
ymajorgrids=true,
width=0.5\textwidth,
ymin=0,
ymax=120,
]
\addplot[pattern=north west lines, pattern color=black, area legend] coordinates {(1, 110) (2, 82.5) (3, 22) (4, 23.2)};
\addplot[fill=white, area legend] coordinates {(1, 71.2) (2, 20.5) (3, 10.2) (4, 10.1)};
\legend{Engagement,Retention}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{3d}
\usepackage{tikz-3dplot}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[rotate around x=0,rotate around y=45, rotate around z=0,scale=1.8]
\draw[->,line width=0.7mm,thick,color=blue] (1,1.58,4.5) -- (2,2.8,4.5);
\draw[<-,line width=0.4mm,dotted,color=blue] (2,2.1,4.5) -- (2,2.8,4.5);
\draw[line width=0.7mm,thick,color=red] (1,1.58,4.5) -- (2,2.1,4.5);
\draw[line width=0.2mm] (1,1.1,5) -- (2,1.6,5);
\draw[line width=0.2mm] (1,1.1,5) -- (1,2.1,5);
\draw[line width=0.2mm] (2,2.6,5) -- (1,2.1,5);
\draw[line width=0.2mm] (2,2.6,5) -- (2,1.6,5);
\draw (1,1.5,4.5) node {$\bullet$};
\draw (1,1.58,4.5) node {$\bullet$};
\draw[line width=0.2mm] (1,2.1,5) -- (1,2.1,4);
\draw[line width=0.2mm] (2,2.6,4) -- (1,2.1,4);
\draw[line width=0.2mm] (2,2.6,4) -- (2,2.6,5);
\draw[line width=0.2mm] (1,1.1,4) -- (1,1.1,5);
\draw (2,2,4.5) node {$\bullet$};
\draw (2,2.1,4.5) node {$\bullet$};
\draw[line width=0.2mm] (1,1.1,4) -- (1,2.1,4);
\draw[line width=0.3mm,dashed] (2,1.6,5) -- (2,1.6,4);
\draw[line width=0.3mm,dashed] (2,2.6,4) -- (2,1.6,4);
\draw[line width=.4mm] plot[variable=\x,domain=.5:3,samples=73,smooth] (\x,{7/60 *\x^3-23/20 *\x^2+47/15*\x-3/5},4.5);
\draw[line width=.4mm,dotted] plot[variable=\x,domain=.4:.5,samples=73,smooth] (\x,{7/60 *\x^3-23/20 *\x^2+47/15*\x-3/5},4.5);
\draw[line width=.4mm,dotted] plot[variable=\x,domain=3:3.5,samples=73,smooth] (\x,{7/60 *\x^3-23/20 *\x^2+47/15*\x-3/5},4.5);
\draw (1, 1.7, 4.4) node {$x_0$};
\draw (1.1, 1.43, 4.7) node {$x(t_0)$};
\draw (2, 2.2, 4.3) node {$x_1$};
\draw (2, 1.87, 4.55) node {$x(t_1)$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usepackage{amsmath}
\begin{document}
\begin{circuitikz}
\draw
(0,0) node[op amp] (opamp) {}
(opamp.+) node[left] {$v_+$}
(opamp.-) node[left] {$v_-$}
(opamp.out) node[right] {$v_o$}
(opamp.up) --++(0,0.5) node[vcc]{5\,\textnormal{V}}
(opamp.down) --++(0,-0.5) node[vee]{-5\,\textnormal{V}}
;\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{arrows.meta}
\tikzset{>={Latex[width=1.2mm,length=1.7mm]}
}
\begin{document}
\begin{tikzpicture}[scale=.55,baseline=0]
\draw[fill] (0,-.5) circle (1.2mm);
\node at (0,-1.1) {$\scriptstyle{1}$};
\draw[fill] (0,.5) circle (1.2mm);
\node at (0,1) {$\scriptstyle{3}$};
\draw[fill] (.55,0) circle (1.2mm);
\node at (.55,-.5) {$\scriptstyle{2}$};
\draw[-] (0,-.5) -- (.55,0);
\end{tikzpicture}
\end{document}