省流: set(gcf, 'renderer' , 'Painters' ); ** 引自: Why does MATLAB not export EPS files properly? - (mathworks.cn) The renderer that MATLAB is using to display the images is very likely a bitmap renderer such as OpenGL or zbuffer (the figure ...
code如下: lb = -1:.25:.75; for m = 1:length(lb) for n = 1:length(lb) h = text(lb(m)+.07,lb(n)+.12,num2str(pp(m,n))); %%关键是这句,循环写入每个格点内的数据量 set(h,'color','m','fontsize',10,'b ...