标签:new ace set osi 边框颜色 矩形 position rect rectangle
1. rectangle
rectangle(‘Position‘,[100,300,70,50],‘Curvature‘,[0,0],‘LineWidth‘,2,‘LineStyle‘,‘--‘,‘EdgeColor‘,‘r‘)
% rectangle(‘Position‘,[x,y,宽,高],‘Curvature‘,[x曲率,y曲率],‘LineWidth‘,‘线宽,‘LineStyle‘,‘线型‘,‘EdgeColor‘,‘线色‘)
2. patch
H_pa = patch([0.02,0.02,2,2],[0.01, 10,10,0.01],[.8 .8 .8]);
% patch([Xleft, Xleft, Xright, Xright], [Ydown, Yup, Yup, Ydown],[阴影颜色]);
set(H_pa,‘EdgeColor‘,[.8 .8 .8],‘EdgeAlpha‘,0.5,‘FaceAlpha‘,0.5)
%set(H_pa,‘EdgeColor‘,[边框颜色],‘EdgeAlpha‘,边框透明度,‘FaceAlpha‘,阴影透明度)
标签:new ace set osi 边框颜色 矩形 position rect rectangle
原文地址:http://www.cnblogs.com/accjsjc/p/6032426.html