SciTikZ
Collection
Scientific Graphics Program Synthesis via Dual Self-Consistency Reinforcement Learning • 5 items • Updated
id string | image dict | code string | sci string | type string |
|---|---|---|---|---|
0 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
0,
161,
0,
0,
1,
23,
8,
0,
0,
0,
0,
224,
222,
123,
182,
0,
0,
0,
32,
99,
72,
... | \documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{rel line to/.style={to path={-- +(\tikztotarget) \tikztonodes}}}
\begin{document}
\begin{tikzpicture}
\draw (0,0) to node {x} (1,1);
\draw (0,1) to[rel line to] node {y} (1,1);
\end{tikzpicture}
\end{document} | geometry | plane_geometry |
1 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
3,
246,
0,
0,
0,
157,
16,
2,
0,
0,
0,
193,
49,
168,
68,
0,
0,
0,
32,
99,
72,
... | \documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, chains}
\begin{document}
\newlength\nodewidth
\setlength\nodewidth{40mm}
\tikzset{%
fill1/.style={fill=red!30, outer sep=0pt},
fill2/.style={fill=green!30, outer sep=0pt},
split/.style={%
minimum width=0.5/3*\no... | flowchart | block_diagram |
2 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
2,
123,
0,
0,
0,
239,
8,
0,
0,
0,
0,
175,
55,
77,
55,
0,
0,
0,
32,
99,
72,
82... | \documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[sibling distance=12em]
\node[draw] {gold}
child {node[draw] {silver}}
child {node[draw] {bronze}};
\end{tikzpicture}
\end{document} | flowchart | hierarchy_chart |
3 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
0,
183,
0,
0,
0,
93,
8,
0,
0,
0,
0,
194,
218,
168,
167,
0,
0,
0,
32,
99,
72,
... | \documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\fill (0,0) circle (0.05) node[below,draw]{$b_1$};
\fill (1,0) circle (0.05) node[label=below:$b_1$,draw]{};
\end{tikzpicture}
\end{document} | graph_network | undirected_graph |
4 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
0,
140,
0,
0,
0,
126,
8,
0,
0,
0,
0,
211,
241,
166,
240,
0,
0,
0,
32,
99,
72,
... | \documentclass[border=1pt]{standalone}
\usepackage{tikz}
\begin{document}
\tikzstyle{ball} = [circle, shading=ball, ball color=black!80!white, minimum size=1cm]
\begin{tikzpicture}
\node [style=ball] {};
\end{tikzpicture}
\end{document} | geometry | solid_geometry_3d |
5 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
1,
40,
0,
0,
1,
44,
4,
0,
0,
0,
0,
144,
13,
156,
210,
0,
0,
0,
32,
99,
72,
82... | \documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.west)]
\matrix [
matrix of math nodes,
text centered
] {
2 & 0 & \frac{2}{3} \\
0 & \frac{4}{3} & 0 \\
-\frac{2}{3} & 0 & -\frac{4}{5} \\
};
\en... | table_matrix | matrix |
6 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
3,
124,
0,
0,
2,
217,
16,
2,
0,
0,
0,
51,
64,
104,
223,
0,
0,
0,
32,
99,
72,
... | \documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[legend pos=south east]
\addlegendimage{empty legend}
\addplot {sqrt(x)};
\addplot {ln(x)};
\addlegendentry{\hspace{-.6cm}\textbf{A title}}
\addlegendentry{$\sqrt{x}$}
\addlegendentry{$\ln{x}$}
\end{axi... | coordinate_plot | multi_curve_plot |
7 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
1,
240,
0,
0,
0,
70,
8,
3,
0,
0,
0,
4,
150,
54,
8,
0,
0,
0,
32,
99,
72,
82,
... | \documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\tikzstyle{every picture}+=[remember picture]
\tikzstyle{na} = [shape=rectangle,inner sep=0pt,text depth=0pt]
\tikz\node[na](word1){John}; loves \tikz\node[na](word2){his}; mother.
\begin{tikzpicture}[overlay]
\path[->,red,thick](word2) edge [o... | flowchart | dependency_graph |
8 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
0,
128,
0,
0,
0,
128,
4,
3,
0,
0,
0,
49,
16,
124,
248,
0,
0,
0,
32,
99,
72,
8... | \documentclass[border=1pt]{standalone}
\usepackage{tikz}
\definecolor{LightSkyBlue}{rgb}{0.53, 0.81, 0.98}
\begin{document}
\begin{tikzpicture}
\draw[fill=LightSkyBlue] (0,0) rectangle (1cm,1cm);
\end{tikzpicture}
\end{document} | geometry | plane_geometry |
9 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
1,
108,
0,
0,
1,
108,
4,
3,
0,
0,
0,
26,
177,
158,
138,
0,
0,
0,
32,
99,
72,
... | \documentclass[border=1pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (-1,-1) rectangle (2,2);
\fill[red] (0,0) -- (1,0) -- (1,1) -- cycle;
\end{tikzpicture}
\end{document} | geometry | plane_geometry |
10 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
0,
212,
0,
0,
1,
210,
8,
0,
0,
0,
0,
177,
155,
186,
109,
0,
0,
0,
32,
99,
72,
... | \documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{chains, positioning}
\usepackage{amsmath}
\newcommand{\statnode}[3]{
\node[rectangle, draw, on chain]{
$\begin{aligned}
n &= #1 \\
\text{sum} &= #2 \\
\mu &= #3
\end{aligned}$
}
}
\newcommand{\statnodex}[3]{
\node[rectangle... | flowchart | process_flowchart |
11 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
10,
212,
0,
0,
1,
53,
8,
0,
0,
0,
0,
88,
117,
201,
211,
0,
0,
0,
32,
99,
72,
... | \documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix,arrows}
\begin{document}
\begin{tikzpicture}
\matrix (m) [
matrix of math nodes,
row sep=2em,
column sep=2em,
]
{ Q_{5}\oplus\bigoplus_{i\in\{1,2,3,4\}} Q_{12345\setminus i}[1] &
\bigoplus_{l\in\{1... | graph_network | commutative_diagram |
12 | {
"bytes": [
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
4,
105,
0,
0,
1,
35,
8,
0,
0,
0,
0,
164,
132,
3,
218,
0,
0,
0,
32,
99,
72,
82... | \documentclass[border=5pt]{standalone}
\usepackage{tikz,mathtools}
\usetikzlibrary{matrix,arrows}
\let\oldbigoplus=\bigoplus
\def\bigoplus{\oldbigoplus\limits}
\begin{document}
\begin{tikzpicture}
\matrix (m) [
matrix of math nodes,
row sep=2.5em,
column sep=2em,
text height=1.5ex,... | graph_network | commutative_diagram |