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 日

0 投票

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 件のコメント

Rahul J Hirur
Rahul J Hirur 2020 年 8 月 23 日
Awesome brother. You helped me a lot!!! Thank you very much...
farzad
farzad 2020 年 11 月 26 日
could you please also write the corresponding code ?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

質問済み:

2020 年 8 月 22 日

編集済み:

2020 年 11 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by