科学网

 找回密码
  注册
[转载]matlab保存eps为非矢量图的解决办法
杨光 2022-5-16 15:14
省流: 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 ...
个人分类: Matlab|1892 次阅读|没有评论
在matlab figure的grid网格中加入每个格点的数据量
杨光 2017-4-20 15:09
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 ...
个人分类: Matlab|4378 次阅读|没有评论
matlab 顺序运行多个.m文件
杨光 2017-4-20 15:07
程序自动依次运行,非并行运算,code如下: %% run './aaa.m'; run './bbb.m'; run './ccc.m'; %%即可
个人分类: Matlab|7059 次阅读|没有评论
更改matlab legend图例大小
杨光 2017-4-11 13:17
code如下: h = legend('CE','AE',1); set(h,'fontsize',12); %% enlarge the marker size a=get(h,'children'); set(a( ), 'MarkerSize', 30); 参考:http://cn.mathworks.com/matlabcentral/newsreader/view_thread/240826
个人分类: Matlab|21704 次阅读|没有评论
title或者label上多行的字号大小控制
杨光 2014-8-27 12:05
今天绘图时,想通过ylabel输出两行文字,同时这两行的字号还不同。google中文了半天,基本上没有可用的。幸好google英文比较给力,解答如下 ylabel ({ 'fontsize{20pt}bf{first line}'; 'fontsize{10pt}rm{second line}' }); 例如: ylabel({'fontsize{16}Hea ...
个人分类: Matlab|4131 次阅读|没有评论

本页有 5 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-29 06:02

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部