Dataset Viewer
image
imagewidth (px) 384
384
| text
stringlengths 99
941
|
|---|---|
\documentclass[crop, tikz]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[font=\tt\scriptsize, grow=up, level 1/.style={sibling distance=30mm}, level 2/.style={sibling distance=20mm}]
\node[align=center](0){AC{-}{-}A\\CC{-}{-}A\\ACG-A\\A-GTA\\A-G-A}
child{node[align=center]{AGTA\\AG-A}
child{node{AGA}}
child{node{AGTA}}
}
child{node[align=center]{AC-A\\CC-A\\ACGA}
child{node{ACGA}}
child{node[align=center]{ACA\\CCA}
child{node{CCA}}
child{node{ACA}}
}
};
\end{tikzpicture}
\end{document}
|
|
\documentclass[tikz]{standalone}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\draw (-2.25,0) node[left] {$\varphi_a$} -- (2.25,0) node[right] {$\varphi_b$};
\draw[->,yshift=5pt] (-2,0) -- (-1,0) node[midway,above] {$p_1$};
\draw[->,yshift=5pt] (1,0) -- (2,0) node[midway,above] {$p_2$};
\draw[fill=white,postaction={pattern=north east lines}] (0,0) circle (0.25) node[above=5pt] {$G_{k,ab}(p_1,p_2)$};
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel = $x$,
ylabel = $\tanh(x)$,
ymin = -1.25,ymax = 1.25,
domain = -2:2,
smooth,thick,
axis lines = center,
every tick/.style = {thick}]
\addplot[color=blue]{tanh(x)};
\addplot[color=blue,dashed,domain=-1:1,thin]{x};
\end{axis}
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
domain=0:2.7,
xlabel=$x$,
smooth,thick,
axis lines=center,
every tick/.style={thick},
legend style={cells={anchor=west}},
legend pos=north west]
\addplot[color=blue]{x*ln(x)};
\addplot[color=red]{x-1};
\legend{$x \, \ln(x)$,$x-1$}
\end{axis}
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{tikz-feynman}
\begin{document}
$\displaystyle\partial_t \frac{\partial V}{\partial \chi}
= \raisebox{0.5ex}{\feynmandiagram [inline=(a.base)] {
i1 -- a [dot]
-- [charged boson, half left, edge label=$q$] b [crossed dot]
-- [charged boson, half left, edge label=$q$] a,
};}$
\end{document}
|
|
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel = $\beta$,
ylabel = $\langle E\rangle/\hbar \omega$,
ymin = 0,ymax = 2.3,
domain = 0:11,
smooth,thick,
axis lines = center,
every tick/.style = thick]
\def\h{1}\def\w{1}
\def\eev{1/2*\h*\w*(1 + 4/(e^(x*\h*\w) - 1))}
\addplot[color=blue]{\eev};
\end{axis}
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines=middle,
xtick=\empty,
ytick=\empty,
ylabel=$\log\vec x$,
xlabel=$\vec x$,
xmin=0,
ymin=-1,
thick,
decoration={name=none},
]
\addplot[no marks,blue!80!black,ultra thick,samples=150,domain=1:150] {ln(x-10)-2};
\draw[orange,dashed,ultra thick] (axis cs:8, 0.2) -- (axis cs:120, 3);
\end{axis}
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
domain=0:1,
xlabel=$x$,
smooth,
thick,
axis lines=left,
every tick/.style={thick},
legend style={cells={anchor=west}},
legend pos=north west]
\addplot[color=blue]{x};
\addplot[color=red]{-x*ln(x)};
\legend{$x$,$-x \, \ln(x)$}
\end{axis}
\end{tikzpicture}
\end{document}
|
|
\documentclass[svgnames]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[samples=30,ticks=none,xlabel={$V$},ylabel={$T$},zlabel={$F(T,V)$}]
\addplot3[surf,color=DarkBlue,opacity=0.5,domain=-2:2,faceted color=black] {x^2-y^2};
\end{axis}
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel = $z$,
smooth,thick,
axis lines = center,
every tick/.style = {thick},
legend pos=north west]
\addplot[color=blue,domain=0:1.1,samples=150]{-ln(1-x)};
\legend{$-\ln(1 - z)$}
\end{axis}
\end{tikzpicture}
\end{document}
|
|
\documentclass[tikz,border=10pt]{standalone}
\usepackage{tikz}
\begin{document}
% draw ticks
\begin{tikzpicture}
% If you provide two numbers before the ..., the \foreach statement will use their difference for the stepping:
\draw[gray!75] (-1,0) -- (1, 0); % draw line
\foreach \x in {-1,-0.5,...,1}
\draw (\x cm,-1pt) -- (\x cm,1pt);
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\pagenumbering{gobble}
\begin{tikzpicture}
\pgfmathtruncatemacro\start{2010} %Start year
\pgfmathtruncatemacro\ende{2018} %End year
\pgfmathtruncatemacro\differenz{\ende-\start}
\draw[->](0,0) -- (\textwidth, 0);
\foreach \j in {0,..., \differenz} {
\pgfmathsetlengthmacro\tmp{\j*\textwidth/\differenz}
\pgfmathtruncatemacro\jahr{\start+\j}
\draw (\tmp,0) node[rotate=45, left, yshift=-6pt] {\jahr};
}
\end{tikzpicture}
\end{document}
|
|
\documentclass[tikz,border=10pt]{standalone}
%\documentclass[crop, tikz]{standalone}
\usepackage{tikz}
\begin{document}
\usetikzlibrary{mindmap}
\begin{tikzpicture}[outer sep=0pt]
\node (n1) at (0,0) [circle,minimum size=2cm,fill,draw,thick,red] {};
\node (n2) at (30:2.5) [circle,minimum size=1cm,fill,draw,thick,blue] {};
\path (n1) to[circle connection bar switch color=from (red) to (blue)] (n2);
\end{tikzpicture}
\end{document}
|
|
\documentclass[border=10pt]{standalone}
% arr: reindent
\usepackage{tikz}
\usetikzlibrary{shapes.multipart}
\begin{document}
\begin{tikzpicture}
[
stack/.style={rectangle split,
rectangle split parts=#1,
draw,
anchor=center}
]
\node[stack=5] {
\nodepart{two}a
\nodepart{three}b
\nodepart{four}c
\nodepart{five}d
};
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{tikz} % http://ctan.org/pkg/pgf
\usetikzlibrary{spy, backgrounds}
\begin{document}
\begin{tikzpicture} [spy using outlines={circle, magnification=8, size=2cm, connect spies, transform shape}]
\draw[red] (2.9,0) -- (2.9,4);
\draw[help lines] (0,0) grid (4,4);
\draw (0,0) -- (3,3) -- (3,0);
% \begin{pgfonlayer}{background}
% \draw[red] (2.9,0) -- (2.9,4);
% \end{pgfonlayer}
\spy [black] on (3,3) in node [left] at (6,5.5);
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (4,2);
% draw a matrix table
\node [matrix,fill=red!20,draw=blue,very thick] (my matrix) at (2,1)
% draw four elements, each in one of the cells
{
\draw (0,0) circle (4mm); & \node[rotate=10] {Hello}; \\
\draw (0.2,0) circle (2mm); & \fill[red] (0,0) circle (3mm); \\
};
% draw the arrow from the origin
\draw [very thick,->] (0,0) |- (my matrix.west);
\end{tikzpicture}
\end{document}
|
|
\documentclass[border=3mm,tikz]{standalone}
%\documentclass[11pt]{scrartcl}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[thick]
\foreach \i in {1,2,...,10} {%
[rotate=(\i-1)*36]
(0:2) arc (0:18:2) {[rounded corners=2pt] -- ++(18: 0.3) arc (18:36:2.3) } -- ++(36: -0.3)
};
\end{tikzpicture}
\end{document}
|
|
\documentclass[margin=2mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{mindmap}
\begin{document}
\begin{tikzpicture}[
mindmap,
every node/.style=concept,
concept color=black!20,
grow cyclic,
level 1/.append style={level distance=4.5cm,sibling angle=90},
level 2/.append style={level distance=3cm,sibling angle=45}
]
\node [root concept] {Computational Complexity} % root
child [concept color=red] { node {Computational Problems}
child { node {Problem Measures} }
child { node {Problem Aspects} }
}
child [concept color=blue] { node {Computational Models}
child { node {Turing Machines} }
child { node {Random-Access Machines} }
};
\end{tikzpicture}
\end{document}
|
|
\documentclass[tikz,border=15pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\filldraw [gray] (0,0) circle (2pt)
(1,1) circle (2pt)
(2,1) circle (2pt)
(2,0) circle (2pt);
\draw (0,0) .. controls (1,1) and (2,1) .. (2,0);
\end{tikzpicture}
\end{document}
|
|
\documentclass[border=3mm,tikz]{standalone}
%\documentclass{article}
\usepackage{tikz,comment}
\begin{comment}
You can define the direction of the label by using label=<angle>:<label text>. To specify the distance on a per node distance, you have to supply it to the label options: label={[label distance=<distance>]<angle>:<label text>}
\end{comment}
\begin{document}
\begin{tikzpicture}
[
every node/.style=draw,
every label/.style=draw
]
\node [label={[label distance=1cm]30:label}] {Node};
\end{tikzpicture}
\end{document}
|
|
\documentclass[border=1cm]{standalone}
\usepackage{tikz}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\foreach \x /\alph/\name in {0/a/one, 60/b/two, 120/c/three, 180/d/four, 240/e/five, 300/f/six}{
\node[circle, fill=green,minimum width=15mm,draw,shading=axis,top color=green, bottom color=green!50!black] (\alph) at (\x:3cm) {\name}; }
\foreach \alpha in {a,b,c,d,e,f}%
{%
\foreach \alphb in {a,b,c,d,e}%
{%
\draw (\alpha) -- (\alphb);%
}}
\end{tikzpicture}
\end{document}
|
|
\documentclass[tikz,border=10pt]{standalone}
%\documentclass[crop, tikz]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=.9, transform shape]
\tikzstyle{every node} = [circle, fill=red!30]
\node (a) at (0, 0) {A};
\node (b) at +(0: 1.5) {B};
\node (c) at +(60: 1.5) {C};
\foreach \from / \to in {a/b, b/c, c/a}
\draw [->] (\from) -- (\to);
\end{tikzpicture}
\end{document}
|
|
\documentclass[tikz,border=10pt]{standalone}
%\documentclass[crop, tikz]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[step=.5cm,gray!50,very thin] (-1.4,-1.4) grid(1.4,1.4);
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (0,0) circle (1cm);
\end{tikzpicture}
\end{document}
|
|
\documentclass[tikz,border=10pt]{standalone}
%\documentclass[crop, tikz]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% draw axis
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (-1,0) .. controls (-1,0.555) and (-0.555,1) .. (0,1)
.. controls (0.555,1) and (1,0.555) .. (1,0);
\end{tikzpicture}
\end{document}
|
|
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\begin{document}
We are working on
\begin{tikzpicture}
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\end{tikzpicture}
\end{document}
|
|
\documentclass[tikz,border=15pt]{standalone}
%\documentclass[crop, tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\begin{document}
\tikzset{my node/.style={trapezium, fill=#1!20, draw=#1!75, text=black}}
\begin{tikzpicture}
\tikzset{trapezium stretches=true}
\draw [help lines] grid (3,2);
% draw trapeziums
\node [my node=red] {A};
\node [my node=green, minimum height=1.5cm] at (1, 1.25) {B};
\node [my node=blue, minimum width=1.5cm] at (2, 0) {C};
\end{tikzpicture}
\end{document}
|
|
\documentclass[border=3mm,tikz]{standalone}
% \documentclass{scrartcl}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node [draw,circle ] (a) { Real label};
\node at (a.60) {$\bullet$};
\node [draw] at ([shift={(95:1)}]a.60) {Second label};
\end{tikzpicture}
\end{document}
|
|
\documentclass[crop, border=10pt, tikz]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \x in {1,...,10} {
\draw (\x,0) circle (0.4cm) node {\x}; % add label number
\draw (\x,1) circle (0.4cm) node {\x}; % draw second row
}
\end{tikzpicture}
\end{document}
|
|
\documentclass[tikz,border=5]{standalone}
\usepackage{tikz-network} % tikz-network.sty file must be present
\begin{document}
\begin{tikzpicture}[multilayer=3d]
\Vertex[x=0.5,IdAsLabel,layer=1]{A}
\Vertex[x=1.5,IdAsLabel,layer=1]{B}
\Vertex[x=1.5,IdAsLabel,layer=2]{C}
\Edge[bend=60](A)(B)
\Edge[style=dashed](B)(C)
\Edge(C)(C)
\end{tikzpicture}
\end{document}
|
|
\documentclass[border=15pt]{standalone}
\usepackage{tikz}
\begin{document}
% {$x =\x$, }
\begin{tikzpicture}
\foreach \x in {1,2,3}
\draw (\x,0) node (0.8cm) {$x=\x$,};
\end{tikzpicture}
\end{document}
|
|
\documentclass{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}[multilayer=3d]
\Plane[x=-.5,y=-.5,width=3,height=2.5,grid=5mm]
\end{tikzpicture}
\end{document}
% =============================================================================
% eof
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
|
|
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\usetikzlibrary{fit,matrix,positioning}
\begin{document}
\begin{preview}
\begin{tabular}[c]{c| c c}
$U_1$ & $b_1^1$ & \\
$U_0$ & $\Omega(b_1^1)$ & $b_1^0$
\end{tabular}
\end{preview}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[thick]
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
\draw[fill=orange!20] (-2,0) -- (-1,0.5) -- (0,2) -- (1,0.5) -- (2,0) -- (1,-0.5) -- (0,-2) -- (-1,-0.5) -- cycle;
\node (a)[point,label=$x$] at (0,0) {};
\end{tikzpicture}
\end{document}
|
|
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\draw [red] (0,0) circle [radius=1];
\draw [domain=1:18.8,variable=\t,smooth,samples=200,->,>=stealth']
plot ({\t r}: {1+2*exp(-0.1*\t)});
\end{tikzpicture}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{bchart}
\begin{document}
\begin{bchart}[step=50,max=550]
\bcbar[label=JAMA]{51.367}
\smallskip
\bcbar[text=leafsize:2]{548.002}
\bcbar[label=l:4]{158.890}
\bcbar[label=l:8]{66.560}
\bcbar[label=16]{40.899}
\bcbar[label=32]{32.626}
\bcbar[label=64]{30.638}
\bcbar[label=128]{31.086}
\bcbar[label=256]{28.526}
\bcbar[label=512]{31.798}
\bcbar[label=1024]{42.967}
\bcbar[label=2048]{46.535}
\end{bchart}
\end{document}
|
|
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\usetikzlibrary{fit,matrix,positioning}
\begin{document}
\begin{preview}
$
J =
\left(
\begin{array}{*4{c}}
A_{\lambda_1} & & & 0\\
& A_{\lambda_2} & & \\
& & \ddots & \\
0 & & & A_{\lambda_k}
\end{array}
\right)
$
\end{preview}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[thick]
\draw (-1,-1) -- (1,-1) -- (1,1) -- (-1,1) -- cycle;
\draw (0cm,0cm) circle(0.9cm);
\begin{scope}[scale=1.7]
\draw (-1,-1) -- (1,-1) -- (1,1) -- (-1,1) -- cycle;
\draw (0cm,0cm) circle(0.9cm);
\end{scope}
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{pgfplots}
\begin{document}
\begin{preview}
\begin{tikzpicture}
\begin{axis}[
ybar interval,
xticklabel=
\pgfmathprintnumber\tick--\pgfmathprintnumber\nexttick
]
\addplot+[hist={bins=3}]
table[row sep=\\,y index=0] {
data\\
1\\ 2\\ 1\\ 5\\ 4\\ 10\\
7\\ 10\\ 9\\ 8\\ 9\\ 9\\
};
\end{axis}
\end{tikzpicture}
\end{preview}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
\foreach \x in {0,1,2}
\foreach \y in {0,1,2}{
\node (a)[point] at (\y,0) {};
\node (b)[point] at (\x,1) {};
\draw (a) -- (b);
}
\end{tikzpicture}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{pgf-pie}
\begin{document}
\begin{tikzpicture}
\pie{10/A, 20/B, 30/C, 40/D}
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\usetikzlibrary{shapes, calc}
\tikzstyle{vertex}=[draw,fill=black!15,circle,minimum size=20pt,inner sep=0pt]
\begin{document}
\begin{preview}
\begin{tikzpicture}
\node[vertex] {+}
child {
node[vertex] {+}
child {
node[vertex] {+}
child { node[vertex] {i} }
child { node[vertex] {++i} }
}
child { node[vertex] {i++} }
} child {
node[vertex] {++i}
}
;
\end{tikzpicture}
\end{preview}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{tikzpicture}[thick]
\draw[thick, fill=black, black] (0cm,0cm) circle(0.1cm);
%\node[below] {$1$};
\end{tikzpicture}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tkz-fct}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\tkzInit [xmin=0,xmax=5,ymin=0,ymax=6]
\begin{scriptsize}
\tkzGrid[color = gray!30!white]
\tkzAxeXY
\end{scriptsize}
\draw[thick] (0,0) -- (1,1);
\draw[thick] (1,2) -- (5,6);
\draw[thick,fill=black] (1,1) circle (3pt);
\draw[thick,fill=white] (1,2) circle (3pt);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\usetikzlibrary{shapes.multipart}
\begin{document}
\begin{preview}
\begin{tikzpicture}[stack/.style={rectangle split, rectangle split parts=#1,draw, anchor=center, fill=white}]
\node[stack=5] {
\nodepart{two}a
\nodepart{three}c
\nodepart{four}c
\nodepart{five}b
};
\end{tikzpicture}
\end{preview}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{gensymb}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,decorations.pathreplacing,shapes}
\tikzset{
%Define standard arrow tip
>=stealth',
% Define arrow style
pil/.style={->,thick}
}
\begin{document}
\begin{tikzpicture}
\draw[pil] (0,0) -- node[near end, above] {$\vec a$} (3cm, 0cm);
\draw[pil] (0,0.5cm) -- node[near end, above] {$\vec b$} (2cm,0.5cm);
\end{tikzpicture}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\draw [white,step=0.5cm, pattern=north east lines] (0,0) rectangle (2,1);
\draw[very thick] (0,0) -- (2,0);
\node at (2.4,0.5) {$\stackrel{\sim}{=}$};
\begin{scope}[shift={(4,0)}]
\draw[white,pattern=north east lines] ([shift={(180:1cm)}]-0.0,0) arc (180:0:1cm);
\draw[very thick] (-1,0) -- (1,0);
\end{scope}
\end{tikzpicture}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
\node (z)[point] at (0,0) {};
\node (a)[point] at (90:1cm) {};
\node (b)[point] at (210:1cm) {};
\node (c)[point] at (330:1cm) {};
\path (z.center) edge (a.center);
\path (z.center) edge (b.center);
\path (z.center) edge (c.center);
\draw (a.center) -- (b.center) -- (c.center) -- cycle;
\end{tikzpicture}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
symbolic x coords={a small bar, a medium bar, a large bar},
xtick=data
]
\addplot[ybar,fill=blue] coordinates {
(a small bar, 42)
(a medium bar, 50)
(a large bar, 80)
};
\end{axis}
\end{tikzpicture}
\end{document}
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\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 (1,0) {};
\path (a.center) edge [bend left] (b.center);
\path (a.center) edge (b.center);
\path (a.center) edge [bend right] (b.center);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\def \globalscale {1}
\begin{tikzpicture}[y=1cm, x=1cm, yscale=\globalscale,xscale=\globalscale, inner sep=0pt, outer sep=0pt]
\path[draw=black,fill,line width=0.2cm] (5, 15) -- (15,
15);
\path[draw=black,fill,line width=0.2cm] (5, 5) -- (15, 5);
\path[fill=black] (10, 10) circle (1cm);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\def \globalscale {1}
\begin{tikzpicture}[y=1cm, x=1cm, yscale=\globalscale,xscale=\globalscale, inner sep=0pt, outer sep=0pt]
\path[fill=black,rounded corners=1cm] (5,
15) rectangle (15, 13);
\path[fill=black] (7, 11.5) circle (1.5cm);
\path[fill=black] (13, 11.5) circle (1.5cm);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\def \globalscale {1}
\begin{tikzpicture}[y=1cm, x=1cm, yscale=\globalscale,xscale=\globalscale, inner sep=0pt, outer sep=0pt]
\path[fill,rounded corners=0cm] (5, 5)
rectangle (15, 8.881784197e-16);
\path[fill,rounded corners=0cm] (7.5, 15)
rectangle (10, 5);
\path[fill] (7.5, 5) -- (10, 10) -- (5, 10) --
cycle;
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\def \globalscale {1}
\begin{tikzpicture}[y=1cm, x=1cm, yscale=\globalscale,xscale=\globalscale, inner sep=0pt, outer sep=0pt]
\path[draw=black,fill,line width=1cm] (5,15) -- (5,5);
\path[draw=black,fill,line width=1cm] (15,15) -- (15,5);
\path[draw=black,fill,line width=1cm] (5,10) -- (15,10);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\definecolor{cCC}{RGB}{204,0,0}
\definecolor{cFFFFFF}{RGB}{255,255,255}
\def \globalscale {1}
\begin{tikzpicture}[y=1cm, x=1cm, yscale=\globalscale,xscale=\globalscale, inner sep=0pt, outer sep=0pt]
\path[fill=cCC] (10,20) -- (20,10) -- (20,0)
-- (10,0) -- (0,0) -- (0,10) --
(10,20);
\path[fill=cFFFFFF] (9.2,6) node[above right] (){STOP};
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\definecolor{cFFFFFF}{RGB}{255,255,255}
\definecolor{cFF}{RGB}{255,0,0}
\def \globalscale {1}
\begin{tikzpicture}[y=1cm, x=1cm, yscale=\globalscale,xscale=\globalscale, inner sep=0pt, outer sep=0pt]
\path[fill=cFFFFFF,rounded corners=0cm] (0.0, 20) rectangle
(20, 0.0);
\path[fill=cFF] (10, 10) circle (10cm);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\definecolor{cffffff}{RGB}{255,255,255}
\definecolor{cff}{RGB}{0,0,255}
\def \globalscale {1}
\begin{tikzpicture}[y=1cm, x=1cm, yscale=\globalscale,xscale=\globalscale, inner sep=0pt, outer sep=0pt]
\path[draw=black,fill=cffffff,line width=0.5cm] (10, 10) circle
(7cm);
\path[fill=cff] (10, 10) circle (5cm);
\path[fill=black] (10, 10) circle (2cm);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% Draw the horse
\draw (0,0) -- (1,0) -- (1,1) -- (0,1) -- cycle;
\draw (0.5,1) -- (0.5,1.5);
\draw (0.5,1.5) circle (0.5);
% Draw the refrigerator
\draw (3,0) rectangle (5,2);
\draw (3.5,0) -- (3.5,-0.5) -- (4.5,-0.5) -- (4.5,0);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the giraffe
\draw[orange, thick] (0,0) -- (1,0) -- (1,2) -- (0.5,2.5) -- (0,2) -- (-1,2) -- (-1,0) -- (0,0);
\draw[orange, thick] (0,2) -- (0.5,2.5);
\draw[orange, thick] (-0.5,1) -- (0.5,1);
\draw[orange, thick] (-0.5,1.5) -- (0.5,1.5);
% Draw the apple
\fill[red] (-1.5,-1) circle (0.5);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
% Importing TikZ package
\usepackage{tikz}
% Starting the document
\begin{document}
% Creating a TikZ picture environment
\begin{tikzpicture}
% Drawing the apple
\fill[red!80!black] (0,0) circle (1.5cm);
% Drawing the stem
\fill[brown!80!black] (0,1.2) rectangle (0.2,2.5);
% Drawing the leaf
\fill[green!80!black] (-0.5,2.2) -- (-0.2,2.8) -- (0.2,2.5) -- (-0.2,2.2) -- cycle;
% Ending the TikZ picture environment
\end{tikzpicture}
% Ending the document
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Define coordinates for the kite
\coordinate (A) at (0,0);
\coordinate (B) at (2,4);
\coordinate (C) at (4,0);
\coordinate (D) at (2,-4);
% Draw the kite
\draw (A) -- (B) -- (C) -- (D) -- cycle;
% Draw the diagonal lines
\draw (A) -- (C);
\draw (B) -- (D);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the sink bowl
\draw[fill=gray!50] (0,0) ellipse (2 and 1);
% Draw the sink faucet
\draw[fill=gray!70] (-0.5,0.5) rectangle (0.5,1.5);
\draw[fill=gray!70] (-0.25,1.5) rectangle (0.25,2.5);
% Draw the sink drain
\draw[fill=gray!70] (0,-0.5) ellipse (0.5 and 0.25);
\draw[fill=white] (0,-0.5) ellipse (0.25 and 0.125);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the sink
\draw[fill=gray!50] (0,0) rectangle (-1,1);
% Draw the boat
\draw[fill=brown!50] (2,0) -- (4,0) -- (3,1) -- cycle;
% Draw the water
\draw[fill=blue!50] (-5,-1) rectangle (5,0);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw toaster
\draw (0,0) rectangle (2,2);
% Draw traffic light
\draw (3,0) rectangle (4.5,4);
\draw (3.75,0) -- (3.75,4); % Vertical line
\draw (3,3.5) circle (0.5); % Red light
\draw (3,2) circle (0.5); % Yellow light
\draw (3,0.5) circle (0.5); % Green light
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw orange
\fill[orange] (0,0) circle (1cm);
% Draw apple
\fill[red] (2.5,0) circle (1cm);
\fill[white] (2.5,0.5) circle (0.5cm);
\draw[green!50!black, line width=5pt] (2.5,0.5) -- (2.5,1.5);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% Draw the book
\draw (0,0) rectangle (2,3);
\draw (1,0) -- (1,3);
% Draw the toilet
\draw (4,0) rectangle (6,2);
\draw (4.5,2) -- (4.5,3);
\draw (5.5,2) -- (5.5,3);
\draw (4.5,3) -- (5.5,3);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the carrot
\fill[orange!80!yellow] (0,0) -- (0.5,1) -- (1,0) -- cycle; % Draw the body of the carrot
\fill[green!50!black] (0.5,0.5) circle (0.2); % Draw the top of the carrot
% Draw the book
\fill[white] (3,0) rectangle (5,2); % Draw the cover of the book
\fill[gray!20] (3.2,0.2) rectangle (4.8,1.8); % Draw the pages of the book
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the suitcase body
\draw[thick] (0,0) rectangle (4,3);
% Draw the suitcase handle
\draw[thick] (2,2.5) -- (2,3.5);
% Draw the suitcase lock
\draw[thick] (3.5,2.5) -- (3.5,3.5);
\draw[thick] (3.5,3) circle (0.5);
% Draw the suitcase wheels
\draw[thick, fill=black] (0.5,0.5) circle (0.3);
\draw[thick, fill=black] (3.5,0.5) circle (0.3);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
% Importing TikZ package
\usepackage{tikz}
% Starting the document
\begin{document}
% Creating a TikZ picture environment
\begin{tikzpicture}
% Drawing the orange
\filldraw[orange] (0,0) circle (1.5cm);
% Drawing the stem
\filldraw[brown] (0,1.5) -- (-0.2,2) -- (0.2,2) -- cycle;
% Drawing the leaf
\filldraw[green] (0,2) -- (-0.5,2.5) -- (0,2.2) -- (0.5,2.5) -- cycle;
\end{tikzpicture}
% Ending the document
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw umbrella
\draw[thick] (0,0) -- (2,0) -- (1,2) -- cycle; % Triangle
\draw[thick] (1,0) -- (1,2); % Pole
% Draw hair drier
\draw[thick,rotate=-30] (4,1) ellipse (0.5 and 1); % Body
\draw[thick,rotate=-30] (4.5,1) -- (5.5,1); % Nozzle
\draw[thick,rotate=-30] (5.5,0.8) rectangle (6.5,1.2); % Handle
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the oven
\draw[fill=gray!50] (0,0) rectangle (4,2);
% Draw the oven door
\draw[fill=gray!70] (3.5,0.5) rectangle (4,1.5);
% Draw the bowl
\draw[fill=white] (1,1) circle (0.8);
% Draw the bowl's shadow
\filldraw[gray!50] (1,1) ellipse (0.8 and 0.2);
% Draw the oven's handle
\draw[fill=gray!70] (3.8,1.25) circle (0.1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% Draw the toilet
\draw[fill=white] (0,0) rectangle (2,4);
\draw[fill=black] (0.5,0.5) rectangle (1.5,1.5);
\draw[fill=black] (0.5,2.5) rectangle (1.5,3.5);
% Draw the donut
\draw[fill=brown] (4,2) circle (1.5);
\draw[fill=pink] (4,2) circle (1);
% Add some sprinkles
\foreach \x in {0,30,...,330}
\draw[fill=white,rotate=\x] (4,2.8) ellipse (0.2 and 0.1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw kite shape
\draw (0,0) -- (1,1.5) -- (2,0) -- (1,-1.5) -- cycle;
% Draw scissors
\draw (3,0) -- (4,1) -- (5,0) -- (4,-1) -- cycle;
\draw (4,1) -- (4,-1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
% Load TikZ package
\usepackage{tikz}
% Begin document
\begin{document}
% Create TikZ picture environment
\begin{tikzpicture}
% Draw the handle of the spoon
\draw[thick] (0,0) -- (0.5,0.5) -- (1.5,0.5) -- (2,0);
% Draw the bowl of the spoon
\draw[thick] (2,0) arc (0:180:1);
% Fill the bowl of the spoon with gray color
\fill[gray] (2,0) arc (0:180:1) -- cycle;
% Draw a small line to connect the handle and the bowl
\draw[thick] (1.5,0.5) -- (1.8,0.2);
\end{tikzpicture}
% End document
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the bench seat
\draw[fill=brown!50] (0,0) rectangle (6,1);
% Draw the bench legs
\draw[fill=black] (0.5,-0.5) rectangle (1.5,0);
\draw[fill=black] (4.5,-0.5) rectangle (5.5,0);
% Draw the bench supports
\draw[fill=black] (1.5,-0.5) rectangle (2.5,-1);
\draw[fill=black] (3,-0.5) rectangle (4,-1);
\draw[fill=black] (4.5,-0.5) rectangle (5.5,-1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the orange
\fill[orange] (0,0) circle (1.5cm);
% Draw the book
\fill[white] (3,0) rectangle (5,4);
\draw[black, thick] (3,0) -- (5,0) -- (5,4) -- (3,4) -- cycle;
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the vase
\filldraw[gray!50] (0,0) ellipse (1.5 and 3); % Draw the vase body
\filldraw[gray!50] (-1.5,0) -- (0,4) -- (1.5,0); % Draw the vase neck
% Draw the bench
\filldraw[brown!50] (-4,-0.5) rectangle (4,-1); % Draw the bench seat
\filldraw[brown!50] (-3,-1) rectangle (-2,-3); % Draw the bench leg
\filldraw[brown!50] (3,-1) rectangle (2,-3); % Draw the bench leg
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}[scale=0.5] % Set scale of the picture
% Draw toothbrush
\draw[fill=white] (0,0) rectangle (2,8); % Draw toothbrush handle
\draw[fill=white] (2,4) circle (4); % Draw toothbrush bristles
% Draw snowboard
\draw[fill=white] (8,0) rectangle (16,2); % Draw snowboard top
\draw[fill=white] (10,2) rectangle (14,6); % Draw snowboard middle
\draw[fill=white] (12,6) rectangle (14,8); % Draw snowboard bottom
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the oven
\filldraw[gray!50] (0,0) rectangle (4,2);
\filldraw[black] (0.5,0.5) rectangle (1.5,1.5);
\filldraw[black] (2.5,0.5) rectangle (3.5,1.5);
% Draw the kite
\filldraw[blue!50] (2,4) -- (1,2) -- (2,1) -- (3,2) -- cycle;
\filldraw[red] (2,2) circle (0.2);
% Draw the string
\draw[black, thick] (2,2) -- (2,1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the sports ball
\filldraw[black] (-2,0) circle (1);
% Draw the kite
\filldraw[gray] (2,0) -- (1,1) -- (0,0) -- (1,-1) -- cycle;
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}[scale=0.5] % Create TikZ picture environment with scale of 0.5
% Draw the handle of the bat
\draw[fill=brown!50] (0,0) rectangle (2,20);
% Draw the barrel of the bat
\draw[fill=black!80] (2,8) arc (0:180:2) -- cycle;
% Draw the end of the bat
\draw[fill=brown!50] (0,20) -- (2,20) -- (2,22) -- (0,22) -- cycle;
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the fire hydrant
\draw[fill=red!80!black] (0,0) rectangle (1,2);
\draw[fill=red!80!black] (0.5,2) circle (0.5);
\draw[fill=white] (0.5,1) circle (0.3);
% Draw the orange
\draw[fill=orange] (3,1) circle (1);
% Add shading to the orange
\shade[ball color=orange!50!white,opacity=0.7] (3,1) circle (1);
% Add a shadow to the orange
\shade[ball color=black!50,opacity=0.5] (3.2,0.8) circle (0.8);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the skis
\draw[thick, brown] (0,0) -- (2,0) -- (1,-1) -- cycle;
\draw[thick, brown] (3,0) -- (5,0) -- (4,-1) -- cycle;
% Draw the refrigerator
\draw[thick, blue] (8,0) rectangle (10,2);
\draw[thick, blue] (8.5,2) -- (8.5,2.5) -- (9.5,2.5) -- (9.5,2);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the donut
\filldraw[fill=yellow!50!white, draw=black] (0,0) circle (1.5);
% Draw the car
\filldraw[fill=red!50!white, draw=black] (-2,-1) rectangle (2,0.5);
\filldraw[fill=red!50!white, draw=black] (-1.5,0.5) rectangle (1.5,1.5);
\filldraw[fill=black, draw=black] (-1.5,-0.5) circle (0.3);
\filldraw[fill=black, draw=black] (1.5,-0.5) circle (0.3);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the knife
\draw[thick] (0,0) -- (1.5,0) -- (1.5,0.5) -- (0.5,1.5) -- (0,1.5) -- cycle;
% Draw the banana
\draw[fill=yellow] (2,0.5) arc (0:180:1 and 0.5) -- cycle;
% Add shading to the banana
\shade[left color=yellow!70!black,right color=yellow!70!black,middle color=yellow!40] (2,0.5) arc (0:180:1 and 0.5) -- cycle;
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% Draw the person
\draw (0,0) -- (0,2) -- (-0.5,2.5) -- (-1,2) -- (-1,0) -- cycle;
% Draw the vase
\draw (2,1) ellipse (1 and 1.5);
\draw (2,0) -- (2,2);
\draw (1,1) -- (3,1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the TV
\draw[thick, fill=gray!20] (0,0) rectangle (4,3);
% Draw the screen
\draw[fill=white] (0.5,0.5) rectangle (3.5,2.5);
% Draw the stand
\draw[thick, fill=black] (1.5,-0.5) rectangle (2.5,0);
% Draw the bowl
\draw[thick, fill=white] (5,1.5) circle (1);
% Add some text
\node at (2,2.75) {TV};
\node at (2,0.25) {Stand};
\node at (5,1.5) {Bowl};
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw oven
\filldraw[black] (0,0) rectangle (2,3); % Draw oven body
\filldraw[gray] (0.2,0.2) rectangle (1.8,2.8); % Draw oven door
\filldraw[white] (0.3,0.3) rectangle (1.7,2.7); % Draw oven door handle
% Draw orange
\filldraw[orange] (4,1.5) circle (1); % Draw orange body
\filldraw[green] (3.5,1.5) -- (4,0.5) -- (4.5,1.5) -- (4,2.5) -- cycle; % Draw orange leaf
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the car
\filldraw[gray] (0,0) rectangle (4,1);
\filldraw[gray] (0.5,1) rectangle (3.5,2);
\filldraw[black] (1,0) circle (0.5);
\filldraw[black] (3,0) circle (0.5);
% Draw the bowl
\filldraw[blue] (2,3) ellipse (2 and 1);
\filldraw[white] (2,2.5) ellipse (1.5 and 0.5);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the bowl
\filldraw[gray!50] (0,0) ellipse (1.5 and 1); % Draw the bowl shape
\filldraw[white] (0,0) ellipse (1.3 and 0.8); % Draw the inside of the bowl
% Draw the book
\filldraw[blue!20] (3,0) rectangle (5,4); % Draw the book cover
\filldraw[white] (3.2,0.2) rectangle (4.8,3.8); % Draw the book pages
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the TV
\filldraw[black] (0,0) rectangle (6,4);
% Draw the screen
\filldraw[white] (0.5,0.5) rectangle (5.5,3.5);
% Draw the sports ball
\filldraw[red] (3,2) circle (1);
% Add some shading to the ball
\shade[ball color=red!70!black,opacity=0.4] (3,2) circle (1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) rectangle (2,2);
\draw (1,1) circle (1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}[scale=0.5] % Create TikZ picture environment with scaling factor of 0.5
% Draw the left tine of the fork
\draw[thick] (-2,0) -- (-2,6);
% Draw the right tine of the fork
\draw[thick] (2,0) -- (2,6);
% Draw the handle of the fork
\draw[thick] (-2,6) .. controls (-1,7) and (1,7) .. (2,6);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the traffic light
\draw[thick, fill=black] (0,0) rectangle (1.5,4);
\draw[thick, fill=red] (0.25,0.25) rectangle (1.25,1);
\draw[thick, fill=yellow] (0.25,1.25) rectangle (1.25,2);
\draw[thick, fill=green] (0.25,2.25) rectangle (1.25,3);
% Draw the baseball bat
\draw[thick, fill=brown] (3,0) rectangle (4,3);
\draw[thick, fill=white] (3.5,3) circle (0.5);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the spoon
\draw[thick, fill=gray!20] (0,0) -- (1,0) -- (1,3) -- (0,3) -- cycle;
% Draw the frisbee
\draw[thick, fill=blue!50] (0.5,3.5) circle (1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Head
\draw[fill=yellow] (0,0) circle (1);
% Body
\draw[fill=blue] (0,-2) -- (-2,-4) -- (2,-4) -- cycle;
% Arms
\draw[fill=red] (-2,-4) rectangle (-3,-6);
\draw[fill=red] (2,-4) rectangle (3,-6);
% Legs
\draw[fill=green] (-1,-8) rectangle (-2,-4);
\draw[fill=green] (1,-8) rectangle (2,-4);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw toothbrush
\draw[fill=white] (0,0) rectangle (1.5,4); % Draw toothbrush handle
\draw[fill=black] (1.5,1) circle (0.5); % Draw toothbrush bristles
% Draw horse
\draw[fill=brown] (4,0) rectangle (8,4); % Draw horse body
\draw[fill=white] (5,4) -- (6,5) -- (7,4) -- cycle; % Draw horse head
\draw[fill=black] (6,4.5) circle (0.2); % Draw horse eye
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% Draw the keyboard
\draw (0,0) rectangle (10,2);
\foreach \i in {1,...,9}
\draw (\i,0) -- (\i,2);
\foreach \i in {0,1}
\draw (0,\i) -- (10,\i);
% Draw the donut
\draw[fill=brown] (5, -1) circle (1.5);
\draw[fill=white] (5, -1) circle (1);
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the car
\filldraw[gray] (0,0) rectangle (4,2); % Draw the body of the car
\filldraw[black] (1,0.5) circle (0.5); % Draw the front wheel
\filldraw[black] (3,0.5) circle (0.5); % Draw the back wheel
\draw[black, thick] (1.5,2) -- (2.5,2); % Draw the roof of the car
% Draw the apple
\filldraw[red] (5,1) circle (0.8); % Draw the apple
\filldraw[green] (5.8,1.5) circle (0.2); % Draw the leaf
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz} % Import TikZ package
\begin{document}
\begin{tikzpicture}
% Draw the apple
\fill[red] (0,0) circle (0.5cm);
% Draw the skis
\fill[brown] (2,0.5) rectangle (4,-0.5);
\fill[brown] (4,-0.5) -- (4.5,-0.5) -- (4.5,-1) -- (4,-1) -- cycle;
\fill[brown] (2,0.5) -- (1.5,0.5) -- (1.5,1) -- (2,1) -- cycle;
\end{tikzpicture}
\end{document}
|
|
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% Spoon
\draw[thick] (0,0) -- (1.5,0) -- (1.5,0.5) -- (0,0.5) -- cycle;
\draw[thick] (0,0.25) -- (1.5,0.25);
\draw[thick] (0.75,0) -- (0.75,0.5);
% Remote
\draw[thick] (3,0) rectangle (5,2);
\draw[thick] (4,0) -- (4,2);
\draw[thick] (3,1) -- (5,1);
\end{tikzpicture}
\end{document}
|
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 17