File:Circle graph and circle model.svg

Summary

Description
English: A Circle graph, and the corresponding circle model, consisting of six chords.
Date
Source Own work (Original text: self-made)
Author Lyonsam

Source code

This image was created using LaTeX in conjunction with the PGF/TikZ package.

\documentclass{article}
\def\pgfsysdriver{pgfsys-tex4ht.def}
\usepackage{tikz}
\begin{document}
\thispagestyle{empty}
\begin{center}
  \huge
  \begin{tikzpicture}[ultra thick,scale=4]
    \foreach \color/\pos/\name in {{red/(0,-1.5)/a},{blue/(0.9,-2.25)/b},{orange/(0,-2.25)/c},{violet/(-0.9,-2.25)/d},{green/(0,-3)/e}}
      \node[\color,draw,circle,fill=white,minimum size=22pt,inner sep=0pt] (\name) at \pos {$\name$};
    \foreach \src/\tgt in {a/b,a/c,a/d,b/c,c/d,b/e,d/e}
      \draw (\src) -- (\tgt);
    \clip[draw] (0,0) circle (1cm);
    \draw[red] (-1,0) -- (1,0.8) node[pos=0.5,above=-0.75mm] {a};
    \draw[blue] (-1,1) -- (1,-0.5) node[pos=0.7,above=-1mm] {b};
    \draw[orange] (0.75,1) -- (-1,-1) node[pos=0.55,right=-1mm] {c};
    \draw[violet] (-1,0.75) -- (0,-1) node[midway,left=-0.8mm] {d};
    \draw[green] (-0.5,-1) -- (1,0) node[midway,above=-0.9mm] {e};
  \end{tikzpicture}
\end{center}
\end{document}

The above LaTeX code was transformed into a html document by the program htlatex, which creates an svg image for each graphic in the document. The resulting svg image was then cleaned up before posting to wikipedia.

Licensing

Public domain This work has been released into the public domain by its author, Lyonsam at English Wikipedia. This applies worldwide.
In some countries this may not be legally possible; if so:
Lyonsam grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Category:PD-user#Circle%20graph%20and%20circle%20model.svg

Original upload log

The original description page was here. All following user names refer to en.wikipedia.
Date/TimeDimensionsUserComment
2008-04-20 19:48287×585× (4985 bytes)Lyonsam{{Information |Description=A [[Circle graph]], and the corresponding circle model, consisting of six chords. |Source=self-made |Date=April 20, 2008 |Author= [[User:Lyonsam|Lyonsam]] |Permission= |other_versions= }}
Category:Circle geometry Category:Graphs with 5 vertices Category:Images with LaTeX source code
Category:Circle geometry Category:Graphs with 5 vertices Category:Images with LaTeX source code Category:PD-user