status = odephas3(t, y, flag)
odephas3 plots the first three solution components as a three-dimensional phase trajectory while an ODE solver is running.
| Flag | When called | Return value |
|---|---|---|
| 'init' | Before integration output starts. | 0 or false to continue. |
| '' | At accepted output points. | 0 or false to continue; 1 or true stops integration. |
| 'done' | After integration finishes. | Return value is ignored. |
The function accepts the output callback protocol with flag equal to 'init', '', or 'done'. It returns 0 to continue integration.
| Version | Description |
|---|---|
| 2.0.0 | initial version |