function draw_rap(rap,raplabels,lab,lablabels,signal) % function draw_rap(rap,raplabels,lablabels,signal) % % rap - read rap-file % raplabels - file with labels corresponding to the columns in the rap file % (for example the reduced 29 set) % lab - the labels % lablabels - file with labels corresponding to the labels % (for example the spine 34 set) % signal - file we could read the signal from Nrap=size(rap,2); rap = log(rap); gmin = abs(min(min(rap))); hold off; for ii=1:Nrap, this = rap(:,ii)/gmin; % to draw, 'hook it' on ii: this = ii + this; plot (this); hold on; end hold off;