Skip to content
Snippets Groups Projects
Commit a7998f20 authored by mey's avatar mey
Browse files

adjusted erosinfo to new eros function

parent ed953803
No related branches found
No related tags found
No related merge requests found
...@@ -48,12 +48,12 @@ function [varargout] = erosinfo(variable) ...@@ -48,12 +48,12 @@ function [varargout] = erosinfo(variable)
% %
% 1. plot the outflux of sediment versus time % 1. plot the outflux of sediment versus time
% %
% eros_template.m % LEM = eros
% B = erosinfo('qs_out'); % qs_out = erosinfo('qs_out');
% %
% 2. plot all variables in a 3-by-3 subplot % 2. plot all variables in a 3-by-3 subplot
% %
% B = erosinfo('all'); % erosinfo('all');
% %
% REFERENCES: % REFERENCES:
% %
...@@ -70,6 +70,7 @@ function [varargout] = erosinfo(variable) ...@@ -70,6 +70,7 @@ function [varargout] = erosinfo(variable)
% %
% Author: Juergen Mey (juemey[at]uni-potsdam.de) % Author: Juergen Mey (juemey[at]uni-potsdam.de)
% Date: 4. June, 2020 % Date: 4. June, 2020
% Last update: 29. March 2023
p = inputParser; p = inputParser;
expectedInput_variable = {'topo','water','q_in','q_out','qs_in','qs_out','slope',... expectedInput_variable = {'topo','water','q_in','q_out','qs_in','qs_out','slope',...
...@@ -126,8 +127,6 @@ for i = 1:length(index) ...@@ -126,8 +127,6 @@ for i = 1:length(index)
end end
end end
T = vertcat(Ta{:}); T = vertcat(Ta{:});
% T(1,:)=[];
% time = T{:,1};
Stat.time = time; Stat.time = time;
% figure % figure
...@@ -185,7 +184,7 @@ if allflag == 1 ...@@ -185,7 +184,7 @@ if allflag == 1
xlim([time(1),time(end)]); xlim([time(1),time(end)]);
xlabel('Time') xlabel('Time')
ylabel('Sediment concentration, q_s/q') ylabel('Sediment concentration, q_s/q')
legend('cs\_i_n','cs\_o_u_t') legend('cs_i_n','cs_o_u_t')
catch catch
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment