how to extract data from 2D graph?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Safwana Razak
el 7 de En. de 2019
Comentada: Safwana Razak
el 8 de En. de 2019
Hi,
I got 2D graph like attacment. how to extract the data from .jpg? i do convert it in .fig but i have error:
"No appropriate method, property, or field 'ZData' for class 'matlab.graphics.primitive.Image'.
Error in test123 (line 12)
z = dataObjs(1).ZData"
Thanks ![untitled.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200296/untitled.jpeg)
![untitled.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200296/untitled.jpeg)
0 comentarios
Respuesta aceptada
KSSV
el 7 de En. de 2019
See this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/7173-grabit
If you have .fig,,,you can get the handles of the figure and the handles have XData and YData.
Más respuestas (1)
madhan ravi
el 7 de En. de 2019
https://www.mathworks.com/matlabcentral/answers/100687-how-do-i-extract-data-from-matlab-figures#answer_110036 - save your graph as .fig instead of .jpg ("No appropriate method, property, or field 'ZData' for class 'matlab.graphics.primitive.Image'. )
Ver también
Categorías
Más información sobre Annotations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!