Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
11
Written By:
Yair Moshe
Technion – Electrical Engineering Department
Signal and Image Processing Laboratory
May 2004
2
GUI with Matlab - Outline
1. Basic Graphics
2. Animation
3. Handle Graphics Objects
4. Creating GUI using GUIDE
23
1. Basic Graphics
• 2-D Plotting
• The Figure Window
• Data Statistics & Curve Fitting
• Subplots & Scales for Axes
• Specialized Plotting Routines 
• 3-D Plotting
• Images
4
2-D Plotting
x=0:.1:2*pi;
y=sin(x);
plot(x,y)
grid on
hold on
plot(x, exp(-x), 'r:*')
axis([0 2*pi 0 1])
title('2-D Plot')
xlabel('Time')
ylabel('Sin(t) ')
text(pi/3, sin(pi/3), '<--sin(\pi/3) ')
legend('Sine Wave',
'Decaying Exponential')
:. : i;
i ;
l t ,
i  
l  
l t , , ' : '
i [  i  ]
titl '  l t'
l l ' i '
l l ' i t  '
t t i/ , i i/ , ' i \ i/  '
l ' i ',
' i  ti l'
35
Line Characteristics
hexagramhdashed--
pentagrampdashdot-.
triangle right>dotted:
triangle left