Hello,
I am tring to fill the area between the two ellipses. I am importing the values from Excel to plot the figure. After that I would like to fill the two ellipses with two different colors. How do I do that?.
CODE:
clcclear allload Phase12.matx = Phase1.x;y = Phase1.z;plot(x,y);fill(x,y,'g');hold ona = Phase1.a;b = Phase1.b;plot(a,b);% fill(a,b,'q')
x,y,a and b are the names of the four columns that I have imported from excel. x,y represents the bigger ellipse. I tried using some of the patch codes, but it did not work out. Can someone please help me with this?
Best Answer