This script will allow you to generate a slope field for a given dy/dx on the x and y axes [-3, 3].
When inputting your dy/dx you must explicitly define every operation
Examples of inputting different slopes are below:
if dy/dx = 2x/y then input 2*x/y
if dy/dx = 0.5x+y then input 0.5*x+y
Watch a tutorial at https://www.youtube.com/watch?v=bT391K229Bs