Clear Filters
Clear Filters

Zooming into maps and updating corresponding bar graphs in App Designer

1 view (last 30 days)
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!

Answers (1)

Adam Danz
Adam Danz on 30 Aug 2023
Edited: Adam Danz on 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

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!