Is there any property setting for 'area' function which generates the 'straits' for the boundary of the colored regions instead of 'plot' curves?
No products are associated with this question.
% Random row input
x = 1:10; y = rand(1,10);
% Normal area chart
% Stairs chart (non area)
% Stairs area
subplot(3,1,3) x = [x;x]; y = [y;y]; area(x([2:end end]),y(1:end))