🌈 搜索
📅  最后修改于: 2022-03-11 14:56:51.196000             🧑  作者: Mango
x = linspace(0,pi); p1 = plot(x,sin(x),'b'); hold on p2 = plot(x,cos(x),'r'); legend([p2,p1],'cos(x)','sin(x)')