Top Banner
1 1 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
17
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

Technion Electrical Engineering Department

May 2004 Signal and Image Processing Laboratory

Written By: Yair Moshe

1

GUI with Matlab - Outline1. 2. 3. 4. Basic Graphics Animation Handle Graphics Objects Creating GUI using GUIDE

2

1

1. Basic Graphics 2-D Plotting The Figure Window Data Statistics & Curve Fitting Subplots & Scales for Axes Specialized Plotting Routines 3-D Plotting Images3

2-D Plottingx=0:.1:2*pi; x=0:.1:2*pi; y=sin(x); y=sin(x); plot(x,y) plot(x,y) grid on grid on hold on hold on plot(x, exp(-x), 'r:*') plot(x, exp(-x), r:* ) axis([0 2*pi 0 1]) axis([0 2*pi 0 1]) title('2-D Plot') title( 2-D Plot ) xlabel('Time') xlabel( Time ) ylabel('Sin(t) ') ylabel( Sin(t) ) text(pi/3, sin(pi/3), '