ENGRMAE 10 Lecture Notes - Lecture 19: String Figure, Subplot, Lux

31 views3 pages

Document Summary

Hw8 is due tomorrow @ 5pm, schedule, final exam rules/procedures. % 2. review of some plot attributes plus some new ones. % title, xlabel, ylabel, axis, legend, text, gtext. % first important note: matlab does publication quality graphics very well. It takes a lot of effort to make publication. % light intensity values as a function of position clear; clc. % intensity data yd = [950 640 460 340 250 180 140]; % in lux. % measurement positions xd = [10:2:22]; % in cm plot(xd,yd,"ro--","linewidth",1. 0,"markersize",10) %theory line x=[10:0. 1:22]; y=95000. /x. ^2 ; % y = f(x) hold on % only works on one plot window plot(x,y,"-","linewidth",1. 0) hold off xlabel("distance (cm)") % set axis labels ylabel("intensity (lux)") title("\bf light intensity as a fuction of distance","fontsize",14) % \it == italic, \rm == normal font. % -1: outside axis, right check your matlab version. % 0 : inside axis with least interference.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers