当前位置:网站首页>Matlab 3D diagram (unconventional)
Matlab 3D diagram (unconventional)
2022-06-21 07:32:00 【jeff one】
MATLAB Three dimensional diagram ( unconventional )
clear;clc;
x = -20:10:20;
y = 0:100;
% Randomly generated 5 Group data , That is, on the target graph 5 Curve data
z = zeros(5, 101);
z(1, 1:10:end) = linspace(1, 10, 11);
z(2, 1:10:end) = linspace(1, 20, 11);
z(3, 1:10:end) = linspace(1, 5, 11);
z(4, 5:10:end) = linspace(1, 10, 10);
z(5, 80:2:end) = linspace(1, 5, 11);
for i = 1:5
% x Direction each curve is a value , repeat y So many times
xx = x(i)*ones(1, 101)
% z The value of the direction , Take one at a time
zz = z(i, :);
% plot3 stay xyz Draw curves in space , Guarantee x y z The length is consistent
plot3(xx, y, zz);
hold on
end
hold off
legend('line1', 'line2', 'line3', 'line4', 'line5');

边栏推荐
- [OSG] OSG development (03) -- build the osgqt Library of MSVC version
- 如何安装Visual Studio Code编辑器?
- Why do smart cities need digital twins?
- Unittest使用
- How do I install the visual studio code editor?
- 24 parameter estimation interval estimation of two population parameters
- 根因解析 | Kubernetes Pod状态异常九大场景盘点
- Transport layer TCP header - serial number and acknowledgement number
- 如何利用MES管理系统实现防错和预警
- Cloud native enthusiast weekly: Chaos mesh upgraded to CNCF incubation project
猜你喜欢

mysql分页查询如何优化

mysql中执行存储过程的语句怎么写

stm32中定义和声明问题

23 parameter estimation -- interval estimation of a population parameter

In order to thoroughly understand the problem of garbled code, I dug up the history of the character set in a rage

Digital twin smart server: information security monitoring platform

Root cause analysis | inventory of nine scenarios with abnormal status of kubernetes pod

22 parameter estimation - maximum likelihood estimation method
![[telnet] telnet installation and configuration](/img/e1/34801a499c75a2588524ed2ec5af8e.jpg)
[telnet] telnet installation and configuration

20 statistics and their sampling distribution -- Sampling Distribution of sample proportion
随机推荐
How to modify system language in win7
Simulate long press event of mobile device
SQL advanced challenge (26 - 30)
Research Report on anhydrous trisodium phosphate industry - market status analysis and development prospect forecast
Web3 in 2022 - define concepts and develop innovative paradigms
Sword finger offer (2nd Edition) brush questions | 04 Find in 2D array
RPA (shadow knife) does not need to write code to capture the product information of an East
Course design of supply chain modeling and simulation based on Flexsim
Do you know all the extension racks of ThinkPHP?
为什么智慧城市需要数字孪生?
如何利用MES管理系统实现防错和预警
mysql不是内部命令如何解决
Traversal of binary tree
2022年的WordPress网站安全问题
RDKIT | 基于分子指纹的分子相似性
Best practice | how to use Tencent cloud micro build to develop enterprise portal applications from 0 to 1
数学是用于解决问题的工具
Random random number class
20 statistics and their sampling distribution -- Sampling Distribution of sample proportion
18 statistics and its sampling distribution chi square distribution-t distribution-f distribution