How do I make a plot from a data table?

14 views (last 30 days)
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?

Accepted Answer

Cris LaPierre
Cris LaPierre on 9 Jun 2020
Edited: Cris LaPierre on 10 Jun 2020
  3 Comments
Cris LaPierre
Cris LaPierre on 10 Jun 2020
Sorry, I meant to include a link to it. I've updated my answer with the info.
Victoria Helm
Victoria Helm on 12 Jun 2020
Thanks so much, the video was very helpful!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!