%% Modify Implicit Plot After Creation
% Plot the implicit function y\sin(x) + x\cos(y) - 1 = 0 and assign the implicit function line object to the variable fp.

fp = fimplicit(@(x,y) y.*sin(x) + x.*cos(y) - 1)

%
% Use fp to access and modify properties of the implicit function line object after it is created. For example, change the color, line style, and line width.

fp.Color = 'r';
fp.LineStyle = '--';
fp.LineWidth = 2;

% Copyright 2012 The MathWorks, Inc.