Zooming into maps and updating corresponding bar graphs in App Designer

2 Ansichten (letzte 30 Tage)
Suhas Ramanan
Suhas Ramanan am 30 Aug. 2023
Bearbeitet: Adam Danz am 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!

Antworten (1)

Adam Danz
Adam Danz am 30 Aug. 2023
Bearbeitet: Adam Danz am 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

Kategorien

Mehr zu Data Exploration finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by