Réponse acceptée

Adam Danz
Adam Danz le 30 Nov 2018
Modifié(e) : Adam Danz le 30 Nov 2018

0 votes

It depends what you mean by "manually".
Mouse clicks
Use getpts().
figure;
axh = axes;
[x,y] = getpts(axh); %Click on axis; Enter/Return to finish.
plot(axh, x, y, 'kx')
Command line
From the command line;
plot(0.5, 0.2, 'kx') %plots a black x at (0.5, 0.2).

2 commentaires

zeyneb khalili
zeyneb khalili le 30 Nov 2018
Thank you so much @Adam Danz
Adam Danz
Adam Danz le 30 Nov 2018
No problem!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Exploration dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by