How do I make a plot from a data table?
조회 수: 25 (최근 30일)
이전 댓글 표시
I made a data table in matlab containing numerical and categorical data (number of trials and date for example). How do I make a plot or bargraph for two categories in my data table? I tried creating column vectors by assigning variable to a given column from my data table and then using the plot, bar, and histogram built in functions. None of them worked...any suggestions?
댓글 수: 0
채택된 답변
Cris LaPierre
2020년 6월 9일
편집: Cris LaPierre
2020년 6월 10일
I suggest watching the Plotting Data Contained in Tables video from our Exploratory Data Analysis with MATLAB course on Coursera.
댓글 수: 3
Cris LaPierre
2020년 6월 10일
Sorry, I meant to include a link to it. I've updated my answer with the info.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Bar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!