Mathematica中文论坛-非官方

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 7963|回复: 0
打印 上一主题 下一主题

matlab, vmd,ppt,gimp 画立体的球 儿子的papa

[复制链接]

532

主题

603

帖子

3035

积分

论坛元老

Rank: 8Rank: 8

积分
3035
跳转到指定楼层
楼主
发表于 2016-6-12 20:17:40 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 meatball1982 于 2016-6-13 08:57 编辑

01.或是可以用matlab来画。
02.或是用vmd来画
03.或是用ppt来画
04.或是用gimp来画(没学习明白)。

01.matlabexport_fig在file exchange里有。
  1. clear all
  2. clc

  3. %% outline
  4. % plot a sphere

  5. %% main
  6. [x,y,z]=sphere(50);

  7. h=surf(x,y,z,'edgecolor','none','facecolor','b','FaceLighting','gouraud')
  8. camlight right
  9. axis equal
  10. axis off
  11. % lightangle(60,40)
  12. lightangle(-90,-70)
  13. set(gca,'color','none')
  14. alpha(h,0.9)
  15. % h=gcf;
  16. export_fig('sphere.png','-png','transparent','-r200',gcf)
复制代码


02.vmd
vmd sphere.pdb
graphics->Representations
Drawing Method选VDW
sphere resolution 可以大一点100

Render the current scene usingOV-Ray3.6
Render Command : 默认选项 +UA
Start Rendering


注意:POV-ray得另外安装。
sphere.pdb如下
  1. ATOM      1  N   VAL A   5      26.672  -8.547  -9.770  1.00101.48           N
复制代码



03.需要一个有高光的球。用PPT画。
找了半天,都不是特别的华丽,最后,在一个小狗子的网站找到的结果。

http://plaza.rakuten.co.jp/mscrtf/diary/201412020000/

虽然不太懂日语,但看图基本都明白。








分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|Mathematica中文论坛-非官方 ( 辽ICP备16001491号-1

GMT+8, 2024-5-4 10:02 , Processed in 0.122433 second(s), 26 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表