Asymptote: Useful commands and their Output
For each of the following, we have put a blue dot at the origin in order to indicate relative location of the output on the coordinate plane. In other words, assume that before each of the examples below is the command
dot((0,0),blue);.
Example 1:
dot((20,0));
Example 2:
draw((0,0)--(50,0),BeginArrow); draw((0,-10)--(50,-10),MidArrow); draw((0,-30)--(50,-30),Arrows);
Example 3:
draw((0,0)--(50,0)); arrow((30,0),dir(180),green);
Example 4:
Example 5:
Example 6:
Example 7:
Example 8: