Skip to content
Snippets Groups Projects
Commit eb3c4212 authored by Martin Mareš's avatar Martin Mareš
Browse files

Asymptote: Drobná vylepšení příkladů

parent 3b8ccf95
No related branches found
No related tags found
No related merge requests found
...@@ -5,15 +5,24 @@ labelmargin = 0.5; ...@@ -5,15 +5,24 @@ labelmargin = 0.5;
label(rule, (0,0)); label(rule, (0,0));
dot((0,0), red); dot((0,0), red);
label("nic", (0,-0.5));
label(rule, (1,0), N); label(rule, (1,0), N);
dot((1,0), red); dot((1,0), red);
label("N", (1,-0.5));
label(rule, (2,0), 2N); label(rule, (2,0), 2N);
dot((2,0), red); dot((2,0), red);
label("2N", (2,-0.5));
label(rule, (3,0), W); label(rule, (3,0), W);
dot((3,0), red); dot((3,0), red);
label("W", (3,-0.5));
label(rule, (4,0), dir(30)); label(rule, (4,0), S);
dot((4,0), red); dot((4,0), red);
label("S", (4,-0.5));
label(rule, (5,0), dir(30));
dot((5,0), red);
label("dir(30)", (5,-0.5));
...@@ -44,6 +44,7 @@ xf = shift((0.3, -2.3)); ...@@ -44,6 +44,7 @@ xf = shift((0.3, -2.3));
dot(xf * a); dot(xf * a);
dot(xf * bb); dot(xf * bb);
dot(xf * cc); dot(xf * cc);
draw(xf * (a{curl 0} .. bb .. {curl 0}cc), green);
draw(xf * (a .. bb .. cc)); draw(xf * (a .. bb .. cc));
draw(xf * (a{curl 2} .. bb .. {curl 2}cc), red); draw(xf * (a{curl 2} .. bb .. {curl 2}cc), red);
draw(xf * (a{curl 10} .. bb .. {curl 10}cc), blue); draw(xf * (a{curl 10} .. bb .. {curl 10}cc), blue);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment