selecting value using ginput
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
data = dlmread('value.txt');
plot3(data(:,1),data(:,2),data(:,3),'r.')
axis off
[x,y,z] = ginput(2)
ginput gives value in command window. I want that value above cursor on image when i select point. So, how to do..?
0 Commenti
Risposte (1)
Walter Roberson
il 3 Gen 2013
5 Commenti
Walter Roberson
il 4 Gen 2013
Add an axes or lineseries ButtonDownFcn callback (if you add it to axes, be sure to set() 'Hittest', 'off' on all the lines in the axes)
Vedere anche
Categorie
Scopri di più su Visual Exploration in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!