How can I get a plot like below in which no color will be shown outside of the ellipse?
If I use pcolor and I get a surface like below where outside of larger ellipse is filled with blue color that I don’t want.
A part of my code is given here.
pcolor(x1, y1, SS);
quiver(x, y, sx, sy,'k'); % plot vector
x2 = x(TT > 0);
y2 = y(TT > 0);
ff2 = boundary(x2, y2);
plot(x2(ff2), y2(ff2),'r'); % plot outer boundary line
x3 = x(TT>0 & SS == 0);
y3 = y(TT>0 & SS == 0);
ff3 = boundary(x3, y3);
plot(x3(ff3), y3(ff3), 'r') % plot inner boundary line
Thanks in advanced.