Zooming into maps and updating corresponding bar graphs in App Designer

2 次查看(过去 30 天)
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!

回答(1 个)

Adam Danz
Adam Danz 2023-8-30
编辑:Adam Danz 2023-9-11
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

类别

Help CenterFile Exchange 中查找有关 Data Exploration 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by