Lecture6 - EGR 106 Lecture 6 2-D Plotting Graphical...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
EGR 106 Lecture 6 2-D Plotting Graphical presentation has become the standard method to show technical information. Engineers use plots to analyze, visualize, and present their work. Matlab has many useful plotting options available! We’ll review some of them today. Textbook 5.1, 5.3-5.12
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What Would You Rather See? -1.0000 -0.8610 -0.7953 -0.7557 -0.7328 -0.7227 -0.7238 -0.7354 -0.7571 -0.7893 -0.8321 -0.8862 -0.9520 -1.0304 -1.1221 -1.2278 -1.3485 -1.4851 -1.6385 -1.8098 -2.0000 or 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -2 -1.8 -1.6 -1.4 -1.2 -1 -0.8 -0.6 x y
Background image of page 2
Example Problem: x = –3:0.1:3; y = x.^3 – 5*x.^2 + 4; plot(x,y) xlabel( ' value of x ' ) ylabel( ' value of y ' ) title( ' Problem 10 ' ) text(0,1, ' egr106 week 1 ' ) colon and dot notation for arrays standard form for plot annotation tools
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
scales are automatic default is Figure 1, blue lines, and small text note axis labels & text
Background image of page 4
Matlab has interactive tools for modifying plots within the Figure window
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Click on the arrow to start interaction Double click on some part of the figure to initiate choices
Background image of page 6
Modify text: Or the lines themselves:
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
So, the property editor is like a spreadsheet’s tools, but…. .
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/03/2011 for the course EGR 106 taught by Professor Taggart during the Spring '09 term at Rhode Island.

Page1 / 34

Lecture6 - EGR 106 Lecture 6 2-D Plotting Graphical...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online