I have a matrix of 2922 samples with scores for 23 components (2922×23) double.
I want to plot the mean value of the first component for data points 1-320, 321-655, 656-1001, 1002-1338, 1339-1684, 1685-2027, 2028-2348, 2349,2581 and 2582-2922 including an error bar of +/-1 standard deviation for each group. The components are not numerical values.
What would be the simplest way to do this for each component? The number of data points within each set will never be the same. Ideally I would like to group the 9 "sets" into 2 groups of 4 and 5 which have different coloured plots.
Best Answer