We create plots from vectors x and y. Is the reverse possible? Can you first draw a curve using cursor in the figure palette and then create vectors x and y from it?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Seetha Rama Raju Sanapala
le 17 Nov 2017
Réponse apportée : KSSV
le 17 Nov 2017
We create plots from vectors x and y. Is the reverse possible? Can you first draw a curve using cursor in the figure palette and then create vectors x and y from it?
0 commentaires
Réponse acceptée
KSSV
le 17 Nov 2017
figure
axis([0 10 0 10])
N = 5; % number of poins
title('click anywhere') ;
[x,y] = ginput(N) ;
plot(x,y) ;
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!