필터 지우기
필터 지우기

How can I use collected data in a GUI of the US map?

조회 수: 1 (최근 30일)
Aden
Aden 2022년 12월 4일
답변: Sameer Pujari 2022년 12월 7일
I am doing a project in MATLAB that involves prison data. I know how to make a data table but I am having trouble with the GUI part of this asignment. The step Im having trouble on is below
Create a GUI that contains an US map with states colored according to the incarceration data, a 2D plot of national-level incarcerations over time, some objects (textbox, dropdown menu, etc.) for the user to input their chosen year and metric, and a plot button.
How do i creat a GUI? how do i add textboxes and dropdown menus?
  댓글 수: 2
Image Analyst
Image Analyst 2022년 12월 4일
Do you have the mapping toolbox? Type ver on the command line to check.
Aden
Aden 2022년 12월 4일
yes Mapping Toolbox Version 5.4 (R2022b)

댓글을 달려면 로그인하십시오.

답변 (1개)

Sameer Pujari
Sameer Pujari 2022년 12월 7일
Hi Aden
You can use Thematic Maps to classify attributes and display them on the maps from the table data. Please refer to the following examples to understand how to use Thematic Maps
You can add interactive controls to the live script in MATLAB to choose user inputs. Please refer to the following documentation link to understand the different interactive control options available
Hope this helps !!

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by