Zooming into maps and updating corresponding bar graphs in App Designer

1 vue (au cours des 30 derniers jours)
Suhas Ramanan
Suhas Ramanan le 30 Août 2023
Modifié(e) : Adam Danz le 11 Sep 2023
I have a panel with a map and 2 bar graphs next to them.
The map shows the locations of all the bicycles across the country. The bar graphs show the total number of bicycles and the number of bicycles in each neighbourhood in this country.
I want to be able to zoom into the map, and dynamically update the total number of bicycles shown in both the graphs.
Do let me know if you have any references/ideas for me to look at. Thank you!

Réponses (1)

Adam Danz
Adam Danz le 30 Août 2023
Modifié(e) : Adam Danz le 11 Sep 2023
You could used the LimitsChangedFcn which responds to changes to axis limits. Within the function you could make changes to your bar plots.
More info

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by