没有合适的资源?快使用搜索试试~ 我知道了~
MATLAB培训教程06 Advanced_Plotting 高级绘图 共36页.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 156 浏览量
2023-11-25
22:50:18
上传
评论
收藏 1.54MB PDF 举报
温馨提示
试读
36页
【大纲】 02 Array_Operation 矩阵运算 共26页 03 Structured_Programming_&_Function 结构化程序设计函数 共25页 04 Data_Structure_&_File_Access 数据结构和文件库 共34页 05 Basic_Plotting 基础绘图 共29页 06 Advanced_Plotting 高级绘图 共36页 07 Graphical_User_Interface 图形界面GUI 共24页 08 Image_Processing I 图像处理1 共28页 09 Image_Processing II 图像处理2 共18页 10 Integration_&_Differentiation 积分和微分 共32页 11 Root_Finding 求根 共26页 12 Linear_Equations 线性方程组 共29页 13 Statistics_&_Data_Analysis 统计数据分析 共28页 14 Curve_Fitting_&_Interpolation 拟合与插值 共26页
资源推荐
资源详情
资源评论
APPLICATIONS OF
MATLAB IN ENGINEERING
Today:
• Advanced 2D plots
• Color space
• 3D plots
Applications of MATLAB in Engineering
2
Special Plots
Function
Description
loglog
Graph with logarithmic scales for both axes
semilogx
Graph with a logarithmic scale for the x
-axis and a
linear scale for the y
-axis
semilogy
Graph with a logarithmic scale for the y
-axis and a
linear scale for the x
-axis
plotyy
Graph with y
-tick labels on the left and right side
3
Applications of MATLAB in Engineering
Function
Description
hist
Histogram plot
bar
Bar graph
pie
Pie chart
polar
Polar coordinate plot
Logarithm Plots
Applications of MATLAB in Engineering
4
x = logspace(-1,1,100);
y = x.^2;
subplot(2,2,1);
plot(x,y);
title('Plot');
subplot(2,2,2);
semilogx(x,y);
title('Semilogx');
subplot(2,2,3);
semilogy(x,y);
title('Semilogy');
subplot(2,2,4);
loglog(x, y);
title('Loglog');
set(gca,'XGrid','on');
0 5 10
0
20
40
60
80
100
Plot
10
-1
10
0
10
1
0
20
40
60
80
100
Semilogx
0 5 10
10
-2
10
0
10
2
Semilogy
10
-1
10
0
10
1
10
-2
10
0
10
2
Loglog
plotyy()
5
Applications of MATLAB in Engineering
x = 0:0.01:20;
y1 = 200*exp(-0.05*x).*sin(x);
y2 = 0.8*exp(-0.5*x).*sin(10*x);
[AX,H1,H2] = plotyy(x,y1,x,y2);
set(get(AX(1),'Ylabel'),'String','Left Y-axis')
set(get(AX(2),'Ylabel'),'String','Right Y-axis')
title('Labeling plotyy');
set(H1,'LineStyle','--'); set(H2,'LineStyle',':');
0
5
10
15
20
-200
-150
-100
-50
0
50
100
150
200
Left Y-axis
Labeling plotyy
0
5
10
15
20
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
Right Y-axis
剩余35页未读,继续阅读
资源评论
passionSnail
- 粉丝: 429
- 资源: 5704
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功