summaryrefslogtreecommitdiff
path: root/graphics/asymptote/doc/grid3xyz.asy
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/asymptote/doc/grid3xyz.asy
Initial commit
Diffstat (limited to 'graphics/asymptote/doc/grid3xyz.asy')
-rw-r--r--graphics/asymptote/doc/grid3xyz.asy17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/asymptote/doc/grid3xyz.asy b/graphics/asymptote/doc/grid3xyz.asy
new file mode 100644
index 0000000000..888b9202ee
--- /dev/null
+++ b/graphics/asymptote/doc/grid3xyz.asy
@@ -0,0 +1,17 @@
+import grid3;
+
+size(8cm,0,IgnoreAspect);
+currentprojection=orthographic(0.5,1,0.5);
+
+scale(Linear, Linear, Log);
+
+limits((-2,-2,1),(0,2,100));
+
+grid3(XYZgrid);
+
+xaxis3(Label("$x$",position=EndPoint,align=S),Bounds(Min,Min),
+ OutTicks());
+yaxis3(Label("$y$",position=EndPoint,align=S),Bounds(Min,Min),OutTicks());
+zaxis3(Label("$z$",position=EndPoint,align=(-1,0.5)),Bounds(Min,Min),
+ OutTicks(beginlabel=false));
+