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

 Akzeptierte Antwort

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)

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by