How to get the value of 'x' from a figure?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I'm trying to get the value of the x axis from a figure. I am currently using gtext, is there another way?
Cheers
0 Commenti
Risposte (3)
Azzi Abdelmalek
il 12 Feb 2013
Click on your plot then type in command windows
x=get(gco,'xdata')
0 Commenti
Vedere anche
Categorie
Scopri di più su Labels and Annotations in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!