matlab坐标轴斜体输出

 matlab坐标轴斜体输出

clc;
clear;
figure(1);

% Figure size [cm]
left = 0;
bottom = 0;
width = 8;
height = 4.35;

a0=importdata('bin.plt',' ',1);
x0=a0.data(:,1);
y0=a0.data(:,2);
z0=a0.data(:,3);
plot3(x0,y0,z0,'k.', x1,y1,z1,'r*','markersize',3.0,'linewidth',1);

h1=xlabel({'{\itx}'} );
set(h1,'fontsize',16,'fontname','Times New Roman');
h2=ylabel({'{\ity}'} );
set(h2,'fontsize',16,'fontname','Times New Roman');
% set(gca, 'FontSize', 12, 'FontName','Times New Roman');
% xlim([0 2])
% set(gca,'xTick',[0:0.2:2])
% set(gca,'yTick',[-1.2:0.3:1.2])
% set(gca,'yticklabel',sprintf('%3.2f\n',get(gca,'ytick')));

% h3=legend('{\itM}=5, {\itS}=10','{\itM}=8, {\itS}=20','Location','NorthEast');
% set(h3,'fontsize',16,'fontname','Times New Roman');
box on

你可能感兴趣的:(matlab代码,matlab,算法)