Draw points in axes matlab
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how can i manually draw points in axes matlab 2009
0 commentaires
Réponse acceptée
Adam Danz
le 30 Nov 2018
Modifié(e) : Adam Danz
le 30 Nov 2018
It depends what you mean by "manually".
Mouse clicks
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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Subplots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!