I am reading a table in MATLAB as follows:
R = readtable('Recalls_All.csv','Delimiter',',','ReadVariableNames',false,...
'ReadRowNames',false);
R.Properties.VariableNames = {'Features','R1','R5','R10','R20'};
The first column of this matrix are 'string' data types corresponding to different algorithms and the other 4 columns are numeric. How can I, without using loops, plot the rows as a function of columns.
- x_axis: columns
- y-axis: rows which correspond to different algorithms
Obviously plottting is not a difficult task using readtable()
. However since there exist 180 rows, I would like a legend()
to be created for each plot (algorithm) autmatically.
Cool ideas are appreciated.