summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/threeviews.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/threeviews.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/threeviews.asy13
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf/doc/asymptote/examples/threeviews.asy b/Master/texmf/doc/asymptote/examples/threeviews.asy
new file mode 100644
index 00000000000..39f9ed4464e
--- /dev/null
+++ b/Master/texmf/doc/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);