How to display single points (-24,9) and (-18,3) in a plot ranging from x-co-ordinates: (-27,27) Y-co-ordinates: (-27,27) by dot?

I want to trace a path of a robot starting from these 2 points. I would like to know how to inculcate previous plot in current

 Accepted Answer

Is something like this what you mean?
figure
hold on
plot(-27:27,-27:27)
h = plot([-24 9],[-18 3],'.');
set(h,'MarkerSize',24)

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!