Graphics, Figures & Tables ⇒ Draw five circles in radial array about a point in tikz
Draw five circles in radial array about a point in tikz
Many thanks!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Draw five circles in radial array about a point in tikz
Then you will need your own ideas. The \foreach command fed with the according angles in a polar coordinate system should do the trick.pban92 wrote:[…] Did not find any example in tikz manual. […]
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Draw five circles in radial array about a point in tikz
I managed to work out with your hint.
Code: Select all
\documentclass[10pt,a4paper]{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[color=black](0,0) circle(5cm);% draw mother circle
\foreach \x in {72,144,...,360} \draw[color=black](\x:7) circle(1cm);%draw 5 child circles
\end{tikzpicture}
\end{document}
Thanks!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Draw five circles in radial array about a point in tikz
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10