summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/fjortoft.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/examples/fjortoft.asy')
-rw-r--r--Build/source/utils/asymptote/examples/fjortoft.asy27
1 files changed, 27 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/examples/fjortoft.asy b/Build/source/utils/asymptote/examples/fjortoft.asy
new file mode 100644
index 00000000000..0ef81ca2c09
--- /dev/null
+++ b/Build/source/utils/asymptote/examples/fjortoft.asy
@@ -0,0 +1,27 @@
+size(15cm,0);
+
+pair d=(1.5,1);
+real s=d.x+1;
+
+picture box(string s) {
+ picture pic;
+ draw(pic,box(0,d));
+ label(pic,s,d/2);
+ return pic;
+}
+
+add(box("$k_1$"));
+add(shift(s)*box("$k_2$"));
+add(shift(s)^2*box("$k_3$"));
+
+path g=(d.x,d.y/2)--(s,d.y/2);
+path G=(d.x/2,-(s-d.x))--(d.x/2,0);
+
+draw(Label(baseline("$\ldots$")),shift(-s)*g,BeginArrow,BeginPenMargin);
+draw(Label("$Z_1$"),g,BeginArrow,BeginPenMargin);
+draw(Label("$E_1$",LeftSide),g,Blank);
+draw(Label("$Z_3$"),shift(s)*g,Arrow,PenMargin);
+draw(Label("$E_3$",LeftSide),shift(s)*g,Blank);
+draw(Label("$Z_2$"),shift(s)*G,Arrow,PenMargin);
+draw(Label("$E_2$",LeftSide),shift(s)*G,Blank);
+draw(Label(baseline("$\ldots$")),shift(s)^2*g,Arrow,PenMargin);