plot( index, vals, 'Color', [r g b ] / 255, 'Line', '-' , 'LineWidth', 2 ) ; % help plot 查看帮助 % [ r g b ] 是相应的颜色值