summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/hierarchy.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/hierarchy.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/hierarchy.asy9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/hierarchy.asy b/Master/texmf-dist/doc/asymptote/examples/hierarchy.asy
new file mode 100644
index 00000000000..fdb833e652a
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/hierarchy.asy
@@ -0,0 +1,9 @@
+texpreamble("\def\Ham{\mathop {\rm Ham}\nolimits}");
+pair align=2N;
+frame f;
+ellipse(f,Label("$\Ham(r,2)$",(0,0)),lightblue,Fill,above=false);
+ellipse(f,Label("BCH Codes",point(f,N),align),green,Fill,above=false);
+ellipse(f,Label("Cyclic Codes",point(f,N),align),lightmagenta,Fill,above=false);
+ellipse(f,Label("Linear Codes",point(f,N),align),-4mm,orange,Fill,above=false);
+box(f,Label("General Codes",point(f,N),align),2mm,yellow,Fill,above=false);
+add(f);