summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/threeviews.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-28 23:56:03 +0000
committerKarl Berry <karl@freefriends.org>2009-05-28 23:56:03 +0000
commite767448d0591f5dbb0cd485e4b014becdcbd1ba4 (patch)
tree83bec5bd1ee117130f3e9dcee985dcd42f5145d9 /Build/source/utils/asymptote/examples/threeviews.asy
parent20751a51df382b884807d8b9ef1ff7f7cc7739a5 (diff)
asymptote 1.74
git-svn-id: svn://tug.org/texlive/trunk@13514 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/examples/threeviews.asy')
-rw-r--r--Build/source/utils/asymptote/examples/threeviews.asy13
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/examples/threeviews.asy b/Build/source/utils/asymptote/examples/threeviews.asy
new file mode 100644
index 00000000000..39f9ed4464e
--- /dev/null
+++ b/Build/source/utils/asymptote/examples/threeviews.asy
@@ -0,0 +1,13 @@
+import three;
+
+picture pic;
+size(pic,200);
+currentlight.viewport=false;
+settings.render=4;
+
+draw(pic,scale3(0.5)*unitsphere,green);
+draw(pic,Label("$x$",1),O--X);
+draw(pic,Label("$y$",1),O--Y);
+draw(pic,Label("$z$",1),O--Z);
+
+addViews(pic);