Plotting 5 single axis graphs

조회 수: 9 (최근 30일)
Journie Mayes
Journie Mayes 2020년 2월 5일
댓글: Siriniharika Katukam 2020년 2월 21일
I need to plot overall percentages for different ages. It needs to be 5 different graphs.
Variables Overall 30x5 blacks 30x5 whites 30x5 Years 30x1
The 30 is the years 1980-2009 The 5 are the age groups 0-44, 45-64, 65-74, 75+, overall
How would I put it into matlab?
  댓글 수: 4
Rik
Rik 2020년 2월 5일
Your question is not actually a Matlab question. The correct way to visualize your data depends on what interpretation you want to do next. I can't tell you if it makes more sense to plot them as bar charts, or put them in the same axis. That part depends on you.
If you know what you want, but are unsure how to implement it in Matlab, then that is a Matlab question.
Siriniharika Katukam
Siriniharika Katukam 2020년 2월 21일
Hi Journie
Make sure whether you need five different graphs for your data or need something like bar chart. In case you need different plots, using "subplot" would be a good option, else try using Barchart "bar".

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by