File Exchange

image thumbnail


version (129 KB) by Iourii Kouznetsov
Dfield for MATLAB R2017b


Updated 29 Jan 2018

View License

A version of the function dfield that plots integral curves of a direction field in the plane.

Cite As

Iourii Kouznetsov (2020). dfield9(action,input1,input2,input3) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Mark Schoen

Could you please update this function to work when being called from the Live Editor?

When I call the function from a Live Script in R2019b, I encounter the following error:

Error using uimenu
First argument must be a valid parent, such as a Figure or Panel object.
Error in dfield9 (line 625)
meload = uimenu(mefile,'label','Load an equation ...',...

Could you reproduce this error on your machine and help me resolve the issue?



Could You please fix it for R2019a, it reports this error for the default equation:

"Error using feval
Undefined function or variable 'dftp2531'.

Error in dfield9 (line 1598)
Ww = feval(dfcn,Tt',Xx');

Error in dfield9 (line 1521)

Error while evaluating UIControl Callback."

Thank You.

Works with Matlab 2018a! Thanks a lot!


Great and usefull app. Thank You!


Pplane is uploaded separately.

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux