-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathcircles.tex
More file actions
21 lines (20 loc) · 816 Bytes
/
circles.tex
File metadata and controls
21 lines (20 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
% Basic TikZ-example, showing how to draw some circles
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\usepackage{tikz}
\PreviewEnvironment{tikzpicture}
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{tikzpicture}
\draw (0,0) circle (1);
\draw [fill=lightgray] (0,0) circle (0.75);
\draw [fill=gray] (0,0) circle (0.5);
\draw [fill=darkgray] (0,0) circle (0.25);
\draw [ultra thick,red] (0,0) circle (0.025);
\draw [red,thick,->] (0,0) -- (1,0) node at (1,0) [black,right] {1};
\draw [red,thick,->] (0,0) -- (0,0.75) node at (0,1) [black,above] {0.75};
%\draw [red,thick,->] (0,0) -- (-0.5,0) node at (-1,0) [black,left] {0.5};
%\draw [red,thick,->] (0,0) -- (0,-0.25) node at (0,-1) [black,below] {0.25};
\end{tikzpicture}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}