summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/slopefield1.asy
blob: fd60de4f63285e5f80a420bf2fa25cc814e68aff (plain)
1
2
3
4
5
6
7
8
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);