Accepted Answer

Adam Danz
Adam Danz on 30 Nov 2018
Edited: Adam Danz on 30 Nov 2018
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 Comments

Thank you so much @Adam Danz
No problem!

Sign in to comment.

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!