set(get(gca,'YLabel'),'FontSize',10,'FontName','Times New Roman');%设置Y坐标标题字体大小,字型 set(gca,'FontName','Times New Roman','FontSize',10)%设置坐标轴字体大小,字型 text(0.3,1.2,'(a)','FontSize',10,'FontName','Times New Roman'); %设置文本字型字号 set(gca, 'XTick'...
set(get(gca,'title'),'FontSize',10,'FontName','宋体');%设置标题字体大小,字型 set(get(gca,'XLabel'),'FontSize',10,'FontName','Times New Roman');%设置X坐标标题字体大小,字型 set(get(gca,'YLabel'),'FontSize',10,'FontName','Times New Roman');%设置Y坐标标题字...
set(gca,'FontName','Times New Roman','FontSize',10) text(0.3,1.2,'(a)','FontSize',10,'FontName','Times New Roman'); %设置文本字型字号 set(gca, 'XTick', [0 10 20 30 40 50 60 70 80 90]) %设置X坐标轴刻度数据点位置 set(gca,'XTickLabel',{'0','10','20','30','40'...
(15)H = findobj(’属性名称‘,’属性值‘);依据对象的属性名称和属性值找出匹配的对象句柄值。 (16)H = findobj(ObjectHandles,’属性名称‘,’属性值‘);根据限定的对象列表找出与对象的属性名称和属性值匹配的对象句柄值 (17)gcf返回当前Figure对象的句柄值 gca返回当前axes对象的句柄值 gco返回当前鼠标单击...
set(gca,'xtick',X,'ytick',Y) %设置网格的显示格式,gca获取当前figure的句柄 set(xlabel('Time'),'FontSize',12,'Color','r') y=ylabel('Amplitude'); set(y,'FontSize',12,'Color','g') legend(h,'First','Second','Third') %添加图例 ...
set(gca,'xtick',X,'ytick',Y) %设置⽹格的显⽰格式,gca获取当前figure的句柄 set(xlabel('Time'),'FontSize',12,'Color','r')y=ylabel('Amplitude');set(y,'FontSize',12,'Color','g')legend(h,'First','Second','Third') %添加图例 title('Bessel Functions') %添加标题 [y,ix]=min...
set(gca,'xtick',X,'ytick',Y) %设置网格的显示格式,gca获取当前figure的句柄 set(xlabel('Time'),'FontSize',12,'Color','r') y=ylabel('Amplitude'); set(y,'FontSize',12,'Color','g') legend(h,'First','Second','Third') %添加图例 title('Bessel Functions') %添加标题 [y,ix]=min...
'宋体');% 设置X坐标标题字体大小,字型set(get(gca,'XLabel'),'FontSize',10,'FontName','Times New Roman');% 设置Y坐标标题字体大小,字型set(get(gca,'YLabel'),'FontSize',10,'FontName','Times New Roman');% 设置坐标轴字体大小,字型set(gca,'FontName','Times New Roman','FontSize',10...
17、oblique)Fontname字体名称fontsize字体大小(单位由Fontunits决定)fontunits字体单位(points/normalized/inches/centimeters/pixels)fontweight字体粗细(normal/bold/light/demi)gridlinestyle决定坐标轴网格线的样式,-为实线- -为虚线:为点线-.为点虚线plot(1:10);grid on;set(gca,gridlinestyle,-.);将当前坐标轴...
set(gca,'xtick',X,'ytick',Y) %设置网格的显示格式,gca获取当前figure的句柄 set(xlabel('Time'),'FontSize',12,'Color','r') y=ylabel('Amplitude'); set(y,'FontSize',12,'Color','g') legend(h,'First','Second','Third') %添加图例 title('Bessel Functions') %添加标题 [y,ix]=min...