%% Modify Streamlines after Creation
% Plot streamlines and return the line objects in l.

[x,y] = meshgrid(-10:10);
u = 2.*x.*y;
v = y.^2 - x.^2;
l = streamslice(x,y,u,v);
axis tight

%
% Set the line width of the streamlines to 2. Set their color to red. Use the set function to change the properties of all the lines at the same time.

set(l,'LineWidth',2)
set(l,'Color','r');

% Copyright 2020 The MathWorks, Inc.