drawing point by point matlab using plot or another function instead of viscircle

1 view (last 30 days)
Hello, I need to draw point by point, but the points should be a little bit big so i already did a program and worked with viscircle, but i saw that visrcle can't allow us to fill in the circles so now i should change my methode so tried to use the plot but didn't work correctly can you suggest me any idea to change this program to another one using plot or line or what else. i'm working on a gui.
function start_Callback(hObject, eventdata, handles)
axes(handles.axes1)
axis(gca,'equal');
axis([0 120 0 (110)]);
for x=0:(distance/1000):(bounce/2)
y=a*x.^2 + hauteur;
p2=[x y];
p2_traj= viscircles(p2,0.6);
pause(0.0001);
delete(p2_traj);
if rebounce ==1 && y<= rebounce1
newrow=[rebounce1,0,0,0];
break;
end
end
  4 Comments
Constantino Carlos Reyes-Aldasoro
As mentioned, use plot and change the marker:
plot(x,y,'marker','o','markersize',20)
That should create a circle with a certain size. That is the easiest way to do it.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!