DRAWPOINT Draw the point on the axis.
drawPoint(X, Y);
Draws points defined by coordinates X and Y.
X and Y should be array the same size.
drawPoint(COORD);
Packs coordinates in a single N-by-2 array.
drawPoint(..., OPT);
Draws each point with given option. OPT is a series of arguments pairs
compatible with 'plot' model. Default drawing option is 'bo',
corresponding to blue circles.
If a format string is used then only the color is effective.
Markers can be set using the 'marker' property.
The property 'linestyle' cannot be set.
drawPoint(AX, ...);
Specifies the axis to draw the points in. AX should be a handle to a axis
object. By default, display on current axis.
H = drawPoint(...) also return a handle to each of the drawn points.
Example
% display a single point
figure;
drawPoint([10 10]);
% display several points forming a circle
t = linspace(0, 2*pi, 20)';
drawPoint([5*cos(t)+10 3*sin(t)+10], 'r+');
axis equal;
See also
points2d, clipPoints
Package: matgeom