Matlab appdesigner UIAxes data retrieval

2 vues (au cours des 30 derniers jours)
Rahul J Hirur
Rahul J Hirur le 22 Août 2020
Modifié(e) : Cris LaPierre le 26 Nov 2020
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??

Réponse acceptée

Cris LaPierre
Cris LaPierre le 22 Août 2020
Modifié(e) : Cris LaPierre le 26 Nov 2020
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 commentaires
Rahul J Hirur
Rahul J Hirur le 23 Août 2020
Awesome brother. You helped me a lot!!! Thank you very much...
farzad
farzad le 26 Nov 2020
could you please also write the corresponding code ?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by