Debian Codegraph @

texmf-dist/doc/latex/tufte-latex/graphics/helix.asy

raw
1 import graph3;
2
3 size(0,200);
4
5 usepackage("palatino");
6 usepackage("mathpazo");
7
8 currentprojection=orthographic(4,6,3);
9
10 real x(real t) {return cos(2pi*t);}
11 real y(real t) {return sin(2pi*t);}
12 real z(real t) {return t;}
13
14 defaultpen(overwrite(SuppressQuiet));
15
16 path3 p=graph(x,y,z,0,2.7,operator ..);
17 bbox3 b=autolimits(min(p),max(p));
18 aspect(b,1,1,1);
19
20 xaxis(rotate(X)*"$x$",all=true,b,red,RightTicks(rotate(X)*Label,2,2));
21 yaxis(rotate(Y)*"$y$",all=true,b,red,RightTicks(rotate(Y)*Label,2,2));
22 zaxis("$z$",all=true,b,red,RightTicks);
23
24 draw(p,Arrow);
25