|
发表于 2004-9-1 22:55:31
|
显示全部楼层
[QUOTE] < >This example uses the line function to add a shadow to plotted data. First, plot some data and save the line's handle:</P>< >t = 0:pi/20:2*pi;
hline1 = plot(t,sin(t),'k');
Next, add a shadow by offsetting the x coordinates. Make the shadow line light gray and wider than the default LineWidth:</P>< >hline2 = line(t+.06,sin(t),'LineWidth',4,'Color',[.8 .8 .8]);
Finally, pop the first line to the front:</P><P>对不起,我不知道传图形,你可以按照上面的命令试一试,我想应该是你所说的阴影吧。</P> |
|