summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/vectorfield.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/doc/vectorfield.asy')
-rw-r--r--Build/source/utils/asymptote/doc/vectorfield.asy9
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/doc/vectorfield.asy b/Build/source/utils/asymptote/doc/vectorfield.asy
new file mode 100644
index 00000000000..12de66e49c5
--- /dev/null
+++ b/Build/source/utils/asymptote/doc/vectorfield.asy
@@ -0,0 +1,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));