How to automatically extract/save data from figure?
5 次查看(过去 30 天)
显示 更早的评论

Hello dear colleagues Please, how can I automatically extract and save data (x,y) from Figure.fig. This figure is incremented by 02Hours (0:2:24), so I'll have 13 data (I do this manually, hard to do with 10000 fig). The output file will can be in .txt .mat
6 个评论
Rik
2020-9-1
I'm assuming you mean you have 5 .m files that create your figures. Not all of those are required for this problem. Your data means something to you, but whether a value is 1 or 1000 doens't matter to the method that extracts the data.
You have two options:
- Attach the all files required to create the figures with your real data.
- Write code that will generate random data and create the plots you need.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!