Here is a mock up solution.
Code is: below. I've used part of your data, but I've made up some similar data (using a sinc function) for the other trends. I've also edited your data file and stripped the header comments.
fname = 'str-10dep00.dat';
fid = fopen(fname);
A = fscanf(fid,'%f');
fclose(fid);
A = reshape(A, 8,length(A)/8)';
t = A(:,1);
plot(t,A(:,3),'.-');
Now I've made a grid plot, and plotted the trends in row order. You will read each from a different file of course.
y = 2*[0:4]; z = 2*[0:-1:-5];
[Y,Z] = meshgrid(y,z);
dum = sinc(t/10);
D = [A(:,2:end), dum.*randn(length(t),23)*0.1]
plot(Y,Z,'bo','MarkerFaceColor',[0.4588 0.7333 0.9922]);
axis(2*[-1,5,-6,1]);
xlabel('x'); ylabel('z')
hold on
for k=1:size(D,2)
s = D(:,k);
i = mod(k-1,5)+1;
j = -floor((k-1)/5);
x = (2*i-2)+t/t(end);
y = 2*j+ s/range(s);
plot(x,y,'-','color',[0.3176 0.6157 0.6863])
end
hold off
12 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694075
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694075
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694935
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694935
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694948
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694948
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694957
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694957
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694959
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_694959
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695412
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695412
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695417
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695417
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695436
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695436
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695717
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695717
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695783
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695783
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695784
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695784
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695785
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/456357-how-to-plot-multiple-waves-on-one-surface#comment_695785
Sign in to comment.