当前位置:网站首页>捡起MATLAB的第(6)天
捡起MATLAB的第(6)天
2022-04-23 15:54:00 【Sola_Ex】
Matlab
三维曲线绘制
plot3(x,y,z,s)
plot3(x1,y1,z1,s1,x2,y2,z2,s2)
三维曲面绘制
mesh(x,y,z,c) %绘制三维网格图
surf(x,y,z,c) %绘制三维曲面图
注:c是color(颜色)
meshc(x,y,z,c) %绘制三维网格图(带等高线)
meshz(x,y,z,c) %绘制三维网格图(带底座)
标准三维球面绘制
[x,y,z] = sphere(n) %绘制三维球面
%体现的是圆滑程度,n越大越圆滑
[x,y,z] = cylinder(r,n) %绘制三维柱面
特殊三维图形
pie3(x) %绘制三维饼图
pie3(x,explode) %绘制三维饼图
fill3(x,y,z,c) %绘制三维填充图
注:explode是让饼块出现脱离的效果,如:
explode = [0 1 0 1] %并不是一定要叫explode ,随意起名字
pie3(x,explode)
waterfall(x,y,z) %绘制瀑布图
contour3(x,y,z,n) %绘制等高线图

这个比较有意思。
图中的波峰函数
peaks(n)
版权声明
本文为[Sola_Ex]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_42312125/article/details/107628595
边栏推荐
猜你喜欢

现在做自媒体能赚钱吗?看完这篇文章你就明白了

一文掌握vscode远程gdb调试

The biggest winner is China Telecom. Why do people dislike China Mobile and China Unicom?

Spark 算子之sortBy使用
![[open source tool sharing] MCU debugging assistant (oscillograph / modification / log) - linkscope](/img/39/4d37c381f16dbe11acc64c92d0a1e5.png)
[open source tool sharing] MCU debugging assistant (oscillograph / modification / log) - linkscope

腾讯Offer已拿,这99道算法高频面试题别漏了,80%都败在算法上

Tencent offer has been taken. Don't miss the 99 algorithm high-frequency interview questions. 80% of them are lost in the algorithm

MySQL - execution process of MySQL query statement

新动态:SmartMesh和MeshBox的合作新动向

Vision of building interstellar computing network
随机推荐
Go语言条件,循环,函数
s16. One click installation of containerd script based on image warehouse
Load Balancer
实现缺省页面
PHP classes and objects
Function summary of drawing object arrangement in R language
基于 TiDB 的 Apache APISIX 高可用配置中心的最佳实践
Spark 算子之coalesce与repartition
The biggest winner is China Telecom. Why do people dislike China Mobile and China Unicom?
C language --- string + memory function
Modèle de Cluster MySQL et scénario d'application
Merging of Shanzhai version [i]
北京某信护网蓝队面试题目
幂等性的处理
Codejock Suite Pro v20.3.0
Basic greedy summary
运维流程有多重要,听说一年能省下200万?
字符串最后一个单词的长度
Neodynamic Barcode Professional for WPF V11.0
大型互联网为什么禁止ip直连