summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/tensor.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-08-15 23:57:48 +0000
committerKarl Berry <karl@freefriends.org>2009-08-15 23:57:48 +0000
commit16d128e5e10d541a78654b86409d5a3539f07708 (patch)
tree66de0af63c3811bb3040c16e9b52c11985f70811 /Build/source/utils/asymptote/examples/tensor.asy
parentb20f78c549859ec0e8610bdd3ad904245e86b489 (diff)
asymptote 1.83
git-svn-id: svn://tug.org/texlive/trunk@14696 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/examples/tensor.asy')
-rw-r--r--Build/source/utils/asymptote/examples/tensor.asy6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/examples/tensor.asy b/Build/source/utils/asymptote/examples/tensor.asy
index 3791b032b92..aa633c4087b 100644
--- a/Build/source/utils/asymptote/examples/tensor.asy
+++ b/Build/source/utils/asymptote/examples/tensor.asy
@@ -1,8 +1,10 @@
size(200);
-pen[][] p={{red,green,blue,cyan},{green,blue,rgb(black),magenta}};
+//pen[][] p={{red,green,blue,cyan},{green,blue,rgb(black),magenta}};
+pen[][] p={{red,green,blue,cyan},{blue,green,magenta,rgb(black)}};
path G=(0,0){dir(-120)}..(1,0)..(1,1)..(0,1)..cycle;
-path[] g={G,subpath(G,1,2)..(2,1)..(2,0)..cycle};
+path[] g={G,subpath(G,2,1)..(2,0)..(2,1)..cycle};
pair[][] z={{(0.5,0.5),(0.5,0.5),(0.5,0.5),(0.5,0.5)},{(2,0.5),(2,0.5),(1.5,0.5),(2,0.5)}};
tensorshade(g,p,z);
+
dot(g);