Matlab appdesigner UIAxes data retrieval

조회 수: 2 (최근 30일)
Rahul J Hirur
Rahul J Hirur 2020년 8월 22일
편집: Cris LaPierre 2020년 11월 26일
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
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개)

카테고리

Help CenterFile 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