Matlab appdesigner UIAxes data retrieval

Hello,
I have been working on appdesigner's UIAxes. I create a graph using uiaxes and I zoom into it. I have attached the two images.
The first image is simple graph. The image has a red zone from the second image is obtained by zooming in the first image. Is there a way to retrieve the data of the zoomed part(second image) in mat format or any numeric format??

 采纳的回答

Cris LaPierre
Cris LaPierre 2020-8-22
编辑:Cris LaPierre 2020-11-26
You could try getting the xlim of the zoomed-in plot, and use that to find the indices of the data displayed (find data where x>=xmin and x<=xmax).

2 个评论

Awesome brother. You helped me a lot!!! Thank you very much...
could you please also write the corresponding code ?

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by