summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/vectorfield.asy
blob: 12de66e49c5d08cdf4b868b165e9e90e5a1b7bcc (plain)
1
2
3
4
5
6
7
8
9
import graph;
size(100);

pair a=(0,0);
pair b=(2pi,2pi);

path vector(pair z) {return (0,0)--(sin(z.x),cos(z.y));}

add(vectorfield(vector,a,b));