function huatu
x0=[150 85 150 145 130 0];
y0=[140 85 155 50 150 0];
b=[243,236,220.5,159,230,52]*pi/180;
for i=1:6
x=0:0.1:160;
max_text={' 1',' 2',' 3',' 4',' 5',' 6'};
text(x0,y0,max_text);
y=tan(b(i))*(x-x0(i))+y0(i);
plot(x,y,'r');hold on;
end
我现在想将每一条直线颜色都不一样,该怎么该???