summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/slopefield1.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/slopefield1.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/slopefield1.asy9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf/doc/asymptote/examples/slopefield1.asy b/Master/texmf/doc/asymptote/examples/slopefield1.asy
new file mode 100644
index 00000000000..fd60de4f632
--- /dev/null
+++ b/Master/texmf/doc/asymptote/examples/slopefield1.asy
@@ -0,0 +1,9 @@
+import slopefield;
+
+size(200);
+
+real func(real x) {return 2x;}
+add(slopefield(func,(-3,-3),(3,3),20,Arrow));
+draw(curve((0,0),func,(-3,-3),(3,3)),red);
+
+