how to extract data from 2D graph?
조회 수: 5 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
KSSV
2019년 1월 7일
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.
추가 답변 (1개)
madhan ravi
2019년 1월 7일
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'. )
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Object Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!