funykatebird的个人博客分享 http://blog.sciencenet.cn/u/funykatebird

博文

comsol、matlab、origin协作绘图

已有 5595 次阅读 2017-4-16 10:45 |个人分类:排版技能|系统分类:论文交流

COMSOL的后处理功能很强大,在计算参数、渲染方面做得很不错,唯一的缺点就是Graphics就是方方正正的作图区域,作出的图不能满足需求,同时多维图形导出为图片格式,或多或少没有在软件中看着舒服。

http://blog.sina.com.cn/s/blog_4a0a8b5d0100xq1n.html


origin的效果不好
用软件自带的这个功能comsol with matlab画出来的


model=mphload('ae.mph');
model.study('std4').run;
model.result.create('pg17', 'PlotGroup2D');%创建画图组
model.result('pg17').create('surf1', 'Surface'); %创建表面图
model.result('pg17').feature('surf1').set('data', 'dset4'); %dataset选存储解
model.result('pg17').feature('surf1').set('expr', 'ae.Lp'); %expression选ae.Lp
model.result('pg17').feature('surf1').set('descr', 'Sound pressure level'); %描述description选Sound pressure level
model.result('pg17').feature('surf1').set('rangecoloractive', 'on'); %色标范围选on
model.result('pg17').feature('surf1').set('rangecolormin', '115'); %色标范围最小值选115
model.result('pg17').feature('surf1').set('rangecolormax', '140.415708184867'); %色标范围最小值选115
figure(1)
mphplot(model,'pg17','rangenum',1)
axis([ -67 103 -59 59])





https://blog.sciencenet.cn/blog-597740-1049219.html

上一篇:visio转eps问题
下一篇:如何用信用卡交版面费
收藏 IP: 202.113.11.*| 热度|

1 杨正瓴

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

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

GMT+8, 2024-4-26 05:21

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部