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

 Réponse acceptée

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)

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by