Plots with [N x M] Matrix

조회 수: 1 (최근 30일)
MBM
MBM 2022년 1월 15일
댓글: Cris LaPierre 2022년 1월 15일
,
  댓글 수: 3
James Tursa
James Tursa 2022년 1월 15일
편집: James Tursa 2022년 1월 15일
If I type in "bar" to the Help Center Support and click on the first link this shows up:
Maybe you could start by reading through this and looking at the examples.
Cris LaPierre
Cris LaPierre 2022년 1월 15일
OP delete their question. From the cache:
Guys im not sure how to set up a Bar plot with N x M matrix as input.
Here's what i want:

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

채택된 답변

Cris LaPierre
Cris LaPierre 2022년 1월 15일
편집: Cris LaPierre 2022년 1월 15일
You may want a histogram.
% nxm matrix
grades = randi(100,5,3);
histogram(grades,[0:10:100])
xlabel("Grade")
ylabel("Number of students")

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Color and Styling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by