2D plot (arrows style)
plot2d4([logflag,] x,y,[style,strf,leg,rect,nax]) plot2d4(y) plot2d4(x,y <,opt_args>) hdl = plot2d4(...)
see plot2d
for a description of parameters.
plot2d4
is the same as plot2d
but curves are
plotted using arrows style. This can be useful when plotting solutions of
an ODE in a phase space.
By default, successive plots are superposed. To clear the previous
plot, use clf()
.
Enter the command plot2d4()
to see a demo.
![]() | Note that all
the modes proposed by plot2dxx (xx = 1 to 4) can be enabled
using plot2d and setting the polyline_style
option to the corresponding number. |
clf subplot(2,1,1) x = [0:0.1:2*%pi]'; plot2d4(x,[sin(x) sin(2*x) sin(3*x)]) subplot(2,1,2) e = plot2d(x,[sin(x) sin(2*x) sin(3*x)]) e.polyline_style=4; | ![]() | ![]() |
Version | Description |
2025.0.0 | Function returns the created handle(s). |