How do I make a plot from a data table?
    13 views (last 30 days)
  
       Show older comments
    
    Victoria Helm
 on 9 Jun 2020
  
    
    
    
    
    Commented: Victoria Helm
 on 12 Jun 2020
            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 Comments
Accepted Answer
  Cris LaPierre
    
      
 on 9 Jun 2020
        
      Edited: Cris LaPierre
    
      
 on 10 Jun 2020
  
      I suggest watching the Plotting Data Contained in Tables video from our Exploratory Data Analysis with MATLAB course on Coursera.
3 Comments
  Cris LaPierre
    
      
 on 10 Jun 2020
				Sorry, I meant to include a link to it. I've updated my answer with the info.
More Answers (0)
See Also
Categories
				Find more on Bar Plots in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
