Matlab plot函数详解

标签:
matlabplot函数详解 |
分类: matlab |
运行下列命令,
x=linspace(0,2*pi,100);
y=sin(x);
h=plot(x,y);
http://s8/bmiddle/618af195g8ab4fbd224f7&690plot函数详解" TITLE="Matlabplot函数详解" />
get(h)
会显示有关plot句柄的所有相关信息。
GET(H) displays all property names and their current values for the graphics object with handle H.
显示如下:
DisplayName: ''
Annotation: [1x1 hg.Annotation]
Color: [0 0 1]
LineStyle: '-'
LineWidth: 0.5000
Marker: 'none'
MarkerSize: 6
MarkerEdgeColor: 'auto'
MarkerFaceColor: 'none'
XData: [1x100 double]
YData: [1x100 double]
ZData: [1x0 double]
BeingDeleted: 'off'
ButtonDownFcn: []
Children: [0x1 double]
Clipping: 'on'
CreateFcn: []
DeleteFcn: []
BusyAction: 'queue'
HandleVisibility: 'on'
HitTest: 'on'
x=linspace(0,2*pi,100);
y=sin(x);
h=plot(x,y);
http://s8/bmiddle/618af195g8ab4fbd224f7&690plot函数详解" TITLE="Matlab
get(h)
会显示有关plot句柄的所有相关信息。
GET(H) displays all property names and their current values for the graphics object with handle H.
显示如下: