cantera/Cantera/matlab/cantera/@Interface/concentrations.m
2003-08-26 03:36:26 +00:00

17 lines
358 B
Matlab

function c = concentrations(s)
% CONCENTRATIONS - Surface concentrations
%
c = surfmethods(thermo_hndl(s), 101);
if nargout == 0
figure
set(gcf,'Name','Concentrations')
bar(c);
colormap(summer);
nm = speciesNames(s);
legend(nm);
xlabel('Species Number');
ylabel('Concentration [kmol/m2]');
title('Surface Species Concentrations');
end