diff options
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/generalaxis3.asy')
-rw-r--r-- | Master/texmf-dist/doc/asymptote/examples/generalaxis3.asy | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/generalaxis3.asy b/Master/texmf-dist/doc/asymptote/examples/generalaxis3.asy new file mode 100644 index 00000000000..68a01c8ce28 --- /dev/null +++ b/Master/texmf-dist/doc/asymptote/examples/generalaxis3.asy @@ -0,0 +1,13 @@ +import graph3; + +size(0,100); + +path3 g=yscale3(2)*unitcircle3; +currentprojection=perspective(10,10,10); + +axis(Label("C",position=0,align=15X),g,InTicks(endlabel=false,8,end=false), + ticklocate(0,360,new real(real v) { + path3 h=O--max(abs(max(g)),abs(min(g)))*dir(90,v); + return intersect(g,h)[0];}, + new triple(real t) {return cross(dir(g,t),Z);})); + |