How can I create a bar graph

I am extremely new to Matlab, I have attached my workspace. I need to plot a bar graph of the variable rdata such that the columns are the x axis and named 'motor' 'visual' 'frontal' 'motor' 'visual' 'frontal 'motor' 'visual' 'frontal' and the y axis comprising of rows is the number of subjects.

1 Comment

doc bar
is the best place to start, especially if you are new to Matlab.

Sign in to comment.

Answers (1)

Sabin
Sabin on 7 Jan 2023
Best to start with the documentation of bar graph.

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Products

Release

R2018a

Tags

Asked:

on 4 Jul 2018

Answered:

on 7 Jan 2023

Community Treasure Hunt

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

Start Hunting!