当前位置:网站首页>Matlab-创建 MATLAB的logo
Matlab-创建 MATLAB的logo
2022-07-27 09:57:00 【用户9925864】
创建 MATLAB 徽标,使用 membrane 命令生成徽标的曲面数据。
L = 160*membrane(1,100);创建一个图窗和一套坐标区以显示徽标。然后,使用通过 membrane 命令得到的点创建徽标的曲面。关闭曲面中的线条。
f = figure;
ax = axes;
s = surface(L);
s.EdgeColor = 'none';
view(3)调整坐标区范围,使坐标区紧密围绕在徽标周围。
ax.XLim = [1 201];
ax.YLim = [1 201];
ax.ZLim = [-53.4 160];使用坐标区的相机属性调整徽标视图。相机属性控制三维场景的视图,就像带有缩放镜头的相机一样。
ax.CameraPosition = [-145.5 -229.7 283.6];
ax.CameraTarget = [77.4 60.2 63.9];
ax.CameraUpVector = [0 0 1];
ax.CameraViewAngle = 36.7;更改坐标区的位置和 x、y 和 z 纵横比以填充图窗窗口中的额外空间。
ax.Position = [0 0 1 1];
ax.DataAspectRatio = [1 1 .9];创建光源以照亮徽标。光源本身不可见,但可设置其属性以更改坐标区中任何填充或曲面对象的外观。
l1 = light;
l1.Position = [160 400 80];
l1.Style = 'local';
l1.Color = [0 0.8 0.8];
l2 = light;
l2.Position = [.5 -1 .4];
l2.Color = [0.8 0.8 0];更改徽标的颜色。
s.FaceColor = [0.9 0.2 0.2];使用曲面的光照和镜面(反射)属性来控制光照效果。
s.FaceLighting = 'gouraud';
s.AmbientStrength = 0.3;
s.DiffuseStrength = 0.6;
s.BackFaceLighting = 'lit';
s.SpecularStrength = 1;
s.SpecularColorReflectance = 1;
s.SpecularExponent = 7;关闭轴以查看最终结果。
axis off
f.Color = 'black';背景颜色也可以选择白色
f.Color = 'white';最好把制作的图标保存为图片备用
saveas(f,'./matlab.jpg')边栏推荐
- Food safety | the more you eat junk food, the more you want to eat it? Please keep this common food calorimeter
- 原生input标签的文件上传
- WGAN、WGAN-GP、BigGAN
- Is Damon partgroupdef a custom object?
- Fsm onehot 答题记录
- 并发之线程状态转换
- ACL2021最佳论文出炉,来自字节跳动
- Decision tree principle and case application - Titanic survival prediction
- LeetCode.814. 二叉树剪枝____DFS
- Review of in vivo detection
猜你喜欢

Snowflake vs. databricks who is better? The latest war report in 2022

数据分析如何解决商业问题?这里有份超详细攻略

Xiandai 004

文件上传漏洞绕过方法

Ant高级-task
![Shell运算符、$((运算式))” 或 “$[运算式]、expr方法、条件判断、test condition、[ condition ]、两个整数之间比较、按照文件权限进行判断、按照文件类型进行判断](/img/65/a735ca2c2902e3fc773dda79438972.png)
Shell运算符、$((运算式))” 或 “$[运算式]、expr方法、条件判断、test condition、[ condition ]、两个整数之间比较、按照文件权限进行判断、按照文件类型进行判断

WGAN、WGAN-GP、BigGAN

Oracle RAC 19C PDB instance is down

Leetcode.1260. 2D grid migration____ In situ violence / dimensionality reduction + direct positioning of circular array
![[SCM]源码管理 - perforce 分支的锁定](/img/c6/daead474a64a9a3c86dd140c097be0.jpg)
[SCM]源码管理 - perforce 分支的锁定
随机推荐
Oracle RAC 19C PDB instance is down
二叉树习题总结
Brush the title "sword finger offer" day04
ACL2021最佳论文出炉,来自字节跳动
There is no CUDA option in vs2019+cuda11.1 new project
Leetcode.1260. 2D grid migration____ In situ violence / dimensionality reduction + direct positioning of circular array
TFlite 的简单使用
Fsm onehot 答题记录
Mysql database experiment training 5, data query YGGL database query (detailed)
Shell综合应用案例,归档文件、发送消息
Concurrent Park and unpark description
Is Damon partgroupdef a custom object?
Summary of binary tree exercises
Looking for a job for 4 months, interviewing 15 companies and getting 3 offers
GBase 8a MPP集群扩容实战
Interview JD T5, was pressed on the ground friction, who knows what I experienced?
Huawei switch dual uplink networking smart Link Configuration Guide
open3d库的安装,conda常用指令,导入open3d时报这个错误Solving environment: failed with initial frozen solve. Retrying w
Configuration of pytorch deep learning environment based on cuda10.0
Text processing tool in shell, cut [option parameter] filename Description: the default separator is the built-in variable of tab, awk [option parameter] '/pattern1/{action1}filename and awk