summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/grid3xyz.asy
blob: 888b9202eeecc084a58721c8a583d7ca6381ddd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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));