MATLAB: Drawing Polygons and Points

hold onpolygon

Hi,
Today i was trying to draw a polygon and some points on the same figure. I drawed the polygon using the "fill" command and it worked just fine. But then i tried to plot the other points using the "plot" function ( plot(x, y, '*') ) and the image with the points took the place of the polygon. Is there a way for me to plot the polygon AND the points so i can compare them? Oh, and the polygon doesn't really have to be filled, the perimeter lines are enough.
Thank you (:

Best Answer

doc hold
To understand. The solution:
figure;
fill(your_stuff)
hold on
plot(your_stuff)