# SlopeField Command Jump to: navigation, search
##### SlopeField

This article is about GeoGebra command.

##### Command Categories (All commands)

SlopeField( <f(x,y)> )
Plots a slope field for the differential equation \frac{dy}{dx}=f(x,y)
Example: SlopeField(x+y) plots the slope field.

SlopeField( <f(x,y)>, <Number n> )
Plots a slopefield for the differential equation \frac{dy}{dx}=f(x,y) on an n by n grid (if the Graphics View is square) or a smaller grid if not. Default is 40.

SlopeField( <f(x,y)>, <Number n>, <Length Multiplier a> )
Plots a slopefield for the differential equation \frac{dy}{dx}=f(x,y). The Length Multiplier 0<a≤1 determines how long the segments are.

SlopeField( <f(x,y)>, <Number n>, <Length Multiplier a>, <Min x>, <Min y>, <Max x>, <Max y> )
Plots a slopefield for the differential equation \frac{dy}{dx}=f(x,y) inside the specified rectangle (rather than filling the Graphics View)
Notes:
• Use the following tools: Move Graphics View, Zoom In, Zoom Out and observe the effect.
• See also SolveODE, Locus, Integral
• GeoGebra
• Help
• Partners
• Contact us
• Feedback & Questions
• This email address is being protected from spambots. You need JavaScript enabled to view it.
• +43 677 6137 2693
© 2021 International GeoGebra Institute