Graphics, Figures & TablesMaking a ring with two colours in TikZ

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
cheesesofnazareth
Posts: 8
Joined: Mon May 10, 2021 2:11 pm

Making a ring with two colours in TikZ

Post by cheesesofnazareth »

I'm trying to make a cool diagram. Please suggest how to make a ring such that c.north to c.north east is dark-blue, c.north east to c.east is light blue... and the colour pattern alternates.

In other words, I am trying to make a bi-coloured ring.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Making a ring with two colours in TikZ

Post by Bartman »

Deal with the arc operation.
Post Reply