# Simple histogram from a 20*2 matrix

#### duval

##### New Member
Would you point me in the right direction and correct me in what I have bungled?

From a 20*2 matrix I must put the first 8 columns as a histogram on a graph, using a 2 by 4 matrix.

This is what I have so far.

Code:
histogram<- matrix(data,2,20)

hist(histogram,4,2)