{可以按这个顺序来输入线形命令:线形- Solid line (default)-- Dashed line: Dotted line-. Dash-dot line颜色r Redg Greenb Bluec Cyanm Magentay Yellowk Blackw White数据点的形状+ Plus signo Circle* Asterisk. Point x Cross'square' or s Square 'diamond' or d Diamond^ Upward-pointing trianglev Downward-pointing triangle> Right-pointing triangle'pentagram' or p Five-pointed star (pentagram)'hexagram' or h Six-pointed star (hexagram)ExamplesPlot the sine function over three different ranges using different line styles, colors, and markers. t = 0:pi/20:2*pi;plot(t,sin(t),'-.r*')hold onplot(t,sin(t-pi/2),'--mo')plot(t,sin(t-pi),':bs')hold off