<pre id=\"best-answer-content\" class=\"reply-text mb10\">x=150:30:400;
y(1:length(x))=250;
x1=[225 200 400 500];
y1=[400 -500 900 200];
t=0:1/(10*pi):pi;
t=[t t(1)];
x3=350 50*cos(t);
y3=300 100*sin(t);
[X,Y]=bezier(x1,y1);
hold on
rectangle(\'Position\',[200 300 50 75],\'Curvature\',[0,0],\'LineWidth\',2,\'LineStyle\',\'-\',\'EdgeColor\',\'r\',\'FaceColor\',[0.5 0.75 1.0]);
fill(x3,y3,[0.8 0.8 0.8],\'EdgeColor\',[0.5 0.1 0.2],\'DiffuseStrength\',0.7);
plot([150,150],[250,350],\'-k\');
plot(x,y,\'--ws\',\'LineWidth\',4,...
\'MarkerEdgeColor\',\'k\',...
\'MarkerFaceColor\',\'k\',...
\'MarkerSize\',6);
axis([50 600 50 500])
<a href=\"#\" id=\"image-248300625_662231827\" target=\"_blank\"></a> |