当前位置:网站首页>捡起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
边栏推荐
- Distinct use of spark operator
- Upgrade MySQL 5.1 to 5.67
- 字符串排序
- Neodynamic Barcode Professional for WPF V11. 0
- [AI weekly] NVIDIA designs chips with AI; The imperfect transformer needs to overcome the theoretical defect of self attention
- PHP function
- gps北斗高精度卫星时间同步系统应用案例
- pywintypes. com_ Error: (- 2147221020, 'invalid syntax', none, none)
- C语言自编字符串处理函数——字符串分割、字符串填充等
- APISIX jwt-auth 插件存在错误响应中泄露信息的风险公告(CVE-2022-29266)
猜你喜欢
多线程原理和常用方法以及Thread和Runnable的区别
Spark 算子之groupBy使用
MySQL optimistic lock to solve concurrency conflict
Use bitnami PostgreSQL docker image to quickly set up stream replication clusters
Filter usage of spark operator
Metalife established a strategic partnership with ESTV and appointed its CEO Eric Yoon as a consultant
Unity shader learning
一文掌握vscode远程gdb调试
Codejock Suite Pro v20. three
Read the meaning of serial port and various level signals
随机推荐
单体架构系统重新架构
js正则判断域名或者IP的端口路径是否正确
Neodynamic Barcode Professional for WPF V11.0
Fastjon2他来了,性能显著提升,还能再战十年
Control structure (I)
R语言中绘制ROC曲线方法二:pROC包
Config组件学习笔记
时序模型:长短期记忆网络(LSTM)
Why disable foreign key constraints
Deletes the least frequently occurring character in the string
Unity shader learning
Go语言条件,循环,函数
How important is the operation and maintenance process? I heard it can save 2 million a year?
String sorting
Application case of GPS Beidou high precision satellite time synchronization system
CVPR 2022 quality paper sharing
leetcode-396 旋转函数
Calculate the number of occurrences of a character
Treatment of idempotency
Simple usage of dlopen / dlsym / dlclose