matlab

it2022-05-09  17

设已有一个figure,它没有subplot它有n条plot的曲线(n未知)写一个m-file (script)把所有Plot曲线的线宽改为2.5线宽的特征是'linewidth'

题2:这个figure有m个subplot,每个subplot有n条plot(m,n未知)

 

 for hax = get(gcf, 'children'); for hplot = get(hax, 'children'); set(hplot, 'linewidth', 2.5) end end 5行指令   for hax = get(gcf, 'children'); set(get(hax, 'children'), 'linewidth', 2.5); end;

转载于:https://www.cnblogs.com/MiLu/p/3630573.html


最新回复(0)