zhyh1435589631的专栏

最近在写文章,但是一开始matlab生成的图形,让人看得好low,也没有单位什么的,一怒之下准备重新画一份,可是找了半天只找到fig图,没办法,只能尝试着直接修改fig图了,fig图包含了绘制图形时候的所有数据信息,,因而理论上这也是可行的。

原始效果图:

最终效果图:

下面放出源码:

% ——————–【修改fig图属性】———————% author :zhyh2010% date:20150515% ——————–【修改fig图属性 end】———————function mainclose allclear allclcmodify_standardendfunction modify_standardclose allfilename = ‘standard’;uiopen([filename, ‘.fig’], 1);color = ‘r’;set(findobj(, color);xlabel(‘$x/mm$’, ‘interpreter’, ‘latex’)ylabel(‘$y/mm$’, ‘interpreter’, ‘latex’)zlabel(‘$z/mm$’, ‘interpreter’, ‘latex’)grid offsaveas(gcf, filename, ‘bmp’);saveas(gcf, filename, ‘eps’);saveas(gcf, filename, ‘fig’);end

就得加倍付出汗水,赢得场场精彩

zhyh1435589631的专栏

相关文章:

你感兴趣的文章:

标签云: