summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/threeviews.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/threeviews.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/threeviews.asy26
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/threeviews.asy b/Master/texmf-dist/doc/asymptote/examples/threeviews.asy
new file mode 100644
index 00000000000..1bcc36ae8d7
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/threeviews.asy
@@ -0,0 +1,26 @@
+import three;
+
+picture pic;
+unitsize(pic,5cm);
+
+currentlight.viewport=false;
+settings.render=4;
+settings.toolbar=false;
+viewportmargin=(1cm,1cm);
+
+draw(pic,scale3(0.5)*unitsphere,green,render(compression=Low,merge=true));
+draw(pic,Label("$x$",1),O--X);
+draw(pic,Label("$y$",1),O--Y);
+draw(pic,Label("$z$",1),O--Z);
+
+// Europe and Asia:
+//addViews(pic,ThreeViewsFR);
+//addViews(pic,SixViewsFR);
+
+// United Kingdom, United States, Canada, and Australia:
+addViews(pic,ThreeViewsUS);
+//addViews(pic,SixViewsUS);
+
+// Front, Top, Right,
+// Back, Bottom, Left:
+//addViews(pic,SixViews);