File:Cube flag graph (Toroidal).svg

From Polytope Wiki
Jump to navigation Jump to search

Original file(SVG file, nominally 340 × 265 pixels, file size: 58 KB)

Summary[edit source]

Description The flag graph of a cube embedded on the surface of a torus. The gray lines are identified.
Date 09:09, 1 August 2022 (UTC)
Source
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\newcommand\red{\draw[thick,red,double]}
\newcommand\blue{\draw[thick,blue]}
\newcommand\green{\draw[thick,green,dashed]}
\newcommand\vertex{\node[circle,fill,inner sep=.5mm]}
\path(0,0)--(9,7);
\foreach \n in {1,...,8}{
  \foreach \m in {1,...,6}{
    \vertex(V\n\m)at(\n,\m){};
  }
  \red(V\n1)--(V\n2);
  \blue(V\n2)--(V\n3);
  \green(V\n3)--(V\n4);
  \blue(V\n4)--(V\n5);
  \red(V\n5)--(V\n6);
}
\foreach \n/\m in {1/2,3/4,5/6,7/8}{
  \blue(V\n1)--(V\m1);
  \red(V\n3)--(V\m3);
  \red(V\n4)--(V\m4);
  \blue(V\n6)--(V\m6);
}
\foreach \n/\m in {2/3,4/5,6/7}{
  \green(V\n1)--(V\m1);
  \green(V\n2)--(V\m2);
  \green(V\n5)--(V\m5);
  \green(V\n6)--(V\m6);
}
\foreach \y in {1,6,2,5}{
  \green(V1\y)--(.5,\y);
  \green(V8\y)--(8.5,\y);
}
\draw[very thick,gray,dashed](.5,.5)--(.5,6.5);
\draw[very thick,gray,dashed](8.5,.5)--(8.5,6.5);
\end{tikzpicture}
\end{document}

Author Amanthana Gromersby (talk)


Licensing[edit source]

w:Creative Commons

attribution share alike

This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current09:09, 1 August 2022Thumbnail for version as of 09:09, 1 August 2022340 × 265 (58 KB)Amanthana Gromersby (talk | contribs){{ Information | Description = Description | Source= <code><pre> \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \newcommand\red{\draw[thick,red,double]} \newcommand\blue{\draw[thick,blue]} \newcommand\green{\draw[thick,green,dashed]} \newcommand\vertex{\node[circle,fill,inner sep=.5mm]} \path(0,0)--(9,7); \foreach \n in {1,...,8}{ \foreach \m in {1,...,6}{ \vertex(V\n\m)at(\n,\m){}; } \red(V\n1)--(V\n2); \blue(V\n2)--(V\n3); \green(V\n3)--(V\...

There are no pages that use this file.

Metadata