set(gca,'FontSize',10) %是设置刻度字体大小O网页链接plot画出来的图的空白边缘消除set(gca,'looseInset',[0 0 0 0])O网页链接图例legend设置字体、大小、字体粗细等h=legend('Initialize (x_0, y_0)=(4, 0) \rm{m}','Initialize (x_0, y_0)=(0, 8) \rm{m}');set(h,'FontName','...
set(gca,'YTickLabel',{'-15','-10','-5','0','5','10','15'}) %设置Y坐标轴刻度处显示的字符 axis([0,90,-20,20]) set(gca,'YTickLabel',[]); %只显示y坐标轴刻度,不显示y坐标轴的值; set(gca,'XTickLabel',[]); %只显示x坐标轴刻度,不显示x坐标轴的值; set(gca,'ytick',[...
ylabel('y','Interpreter','latex','FontName','Time New Roman','FontSize',12); % Axis Formatting: xAxis = get(gca,'xaxis'); set(xAxis,'TickLabelInterpreter','latex','FontSize',12, 'LineWidth',1.5, 'MinorTick','on'); yAxis = get(gca,'yaxis'); set(yAxis,'TickLabelInterpreter'...