Download presentation
Presentation is loading. Please wait.
Published byFelix Spencer Modified over 9 years ago
1
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu Engr/Math/Physics 25 MS Excel Tables/Plots
2
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 2 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Learning Goals Construct Formatted Tables in Excel Use the Cell Formatting Commands Construct Charts and Graphs Comparison Charts → Bar, Col, Radar Analysis Charts → Scatter, Surface –Curve Fits → Linear Regression Use tables and graphs as problem solving tools
3
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 3 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Using Tables & Charts Engineers record and present data in two primary formats: Tables and Graphs
4
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 4 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Tables in Reports When using Tables in Reports and Presentations Tables should always have: –a Title –Column headings with brief descriptive names, symbols and appropriate units. Numerical data in the table should be written to the proper number of significant digits. The decimal points in a column should be aligned. Tables should always be referenced and discussed/explained in the body of the text of the document containing the table
5
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 5 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Table Examples
6
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 6 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Budgeting Table
7
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 7 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Table Construction Demo
8
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 8 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Charts and Graphs Carefully The Select the TYPE of Chart Different Charts Convey Different Info Make Clear and Easy to Read Large Fonts Good Contrast –Light-on-Dark or Dark-on-Light Include Legend Unless Info in Title Label All Axes, Including Units
9
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 9 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Charts & Graphs cont Where Appropriate Annotate or Mark points/regions of Interest with Arrows, Ovals, or Text There are 11 different chart types in Microsoft Excel (and several variations of each type) This Covers 99.9% of the Chart Types That Most Engineers will need Consider Next the Criteria for application
10
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 10 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods The 11 MS Excel Chart Types
11
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 11 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Area Chart An area chart emphasizes the magnitude of change over time. By displaying the sum of the plotted values, an area chart also shows the relationship of parts to a whole.
12
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 12 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Bar Chart A bar chart illustrates comparisons among individual items. Categories are organized vertically, values horizontally, to focus on comparing values and to place LESS emphasis on time. Stacked bar charts show the relationship of individual items to the whole.
13
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 13 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Column Chart A column chart shows data changes over a period of time or illustrates comparisons among items. Categories are organized horizontally, values vertically, to emphasize variation over time. Stacked column charts show the relationship of individual items to the whole.
14
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 14 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Line Chart A line chart shows trends in data at equal intervals. Although line charts are similar to area charts, line charts emphasize time flow and the rate of change, rather than the amount of change or the magnitude of values.
15
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 15 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Pie Chart A pie chart shows the proportional size of items that make up a data series to the sum of the items. It always shows only one data series and is useful when you want to emphasize ONE significant element
16
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 16 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts XY (Scatter) Chart An xy (scatter) chart either shows the relationships among the numeric values in several data series or plots two groups of numbers as one series of xy coordinates. It shows uneven intervals, or clusters, of data and is commonly used for scientific data.
17
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 17 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Doughnut Chart Like a pie chart, a doughnut chart shows the relationship of parts to a whole, but it can contain more than one data series. Each ring of the doughnut chart represents a data series Basically nested Pie-Charts
18
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 18 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Radar Chart In a radar chart, each category has its own value axis radiating from the center point. Lines connect all the values in the same series. A radar chart compares the aggregate values of a number of data series.
19
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 19 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Surface Chart A 3D surface chart is useful when you want to find optimum combinations between two sets of data. As in a topographic map, colors and patterns indicate areas that are in the same range of values.
20
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 20 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Bubble Chart A bubble chart is a type of xy (scatter) chart. The size of the data marker indicates the value of a third variable.
21
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 21 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Stock Chart The stock chart is often used to illustrate stock prices. This chart can also be used for scientific data, for example, to indicate temperature changes
22
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 22 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods MS Excel Charts Cone, Cylinder, and Pyramid Chart The cone, cylinder, and pyramid data markers can lend a dramatic effect to 3-D column and bar charts.
23
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 23 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Graph Construction Demo TABLE I: Vapor Pressure Data Vapor pressures (mm Hg) of less than one atmosphere as a function of temperature. (All temperatures are in degrees Celsius) Chemical1510204060100200400760mmHg Sodium, Na439511549589633662701758823892oC 1,4-Dioxane C 4 H 8 O 2 -35.8-12.8-1.212.025.233.845.162.381.8101.1oC Acetone (CH3)2CO-59.4-40.5-31.1-20.8-9.4-2.07.722.739.556.5oC Butyric Acid, C 4 H 8 O 2 25.549.861.574.088.096.5108.0125.5144.5163.5oC Stannic Chloride, SnCl4-22.710.022.035.243.554.772.092.1113.0oC http://research.umbc.edu/~lkelly/DAExp.htm Given Vapor Pressure Data Construct a Scatter Chart to Find the Clapeyron Eqn Constants m & b for Stannic Chloride
24
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 24 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Result Demo_Excel_Table-n-Chart_Build_Fa06.xls
25
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 25 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods SLOPE & INTERCEPT Cmds Find Explicitly the Least-Sqs m&b for
26
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 26 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods SLOPE & INTERCEPT Cmds
27
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 27 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods S&I Cmds vs Plot TrendLine
28
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 28 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods RSQ Command
29
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 29 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods All Done for Today Excel Plotting
30
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 30 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu Engr/Math/Physics 25 Appendix
31
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 31 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Table Construction Demo (1) Start Top & Bot Rows 20High Middle Rows 16high Merge Cells Vertically
32
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 32 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Table Construction Demo (2) Format Alignment of the “Year 3 Cell Result so Far Format Dialog Box
33
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 33 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Table Construction Demo (3) Set Column Widths 2, 30, 11, 5, 30, 11, 5 Format Fonts All RED Top, Bot, & Lt-End Rows Bold Format Top & Bot Cells for VERTICAL Centering
34
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 34 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Table Construction Demo (4) Set Border Color to Blue Grid INSIDE blue
35
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 35 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Table Construction Demo (5) Double-Line Blue Border Outside Double-Line Blue Border Lt-Vert Cell
36
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 36 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Table Construction Demo (6) Double-Line Blue Border Remainder
37
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 37 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Table Construction Demo (7) Center Columns: Course No., Units
38
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 38 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (1) Start Open File Demo_Excel_Table- n- Chart_Build_0511.xl s Copy from Table from Slide-22 → Paste into Demo Sheet Need Vertical Data Horizontal table starting in Col-H Copy Table Cells and EDIT → PASTE SPECIAL → transpose
39
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 39 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (2) Result after Transpose Paste
40
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 40 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (3) Archive Data Make Scratch WorkSheet; Xfer horizontal Table to to this sheet Edit Worksheet Adjust Headings Delete Cols other Than SnCl4 Move Remaining to Right
41
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 41 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (4) Place in cols A & B 1000/T; T in Kelvins Ln(Pv) After Filling A & B Formula for Col-B =LN(E8)
42
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 42 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (5) Now need to Sort the Data with the indep var (1000/T) in ASCENDING ORDER DATA → SORT
43
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 43 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (6) Highlight/Select Data to Plot Invoke Chart Wizard
44
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 44 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (7) Continue with Chart Wizard
45
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 45 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (8) Add X-Grid Lines Remove Legend Insert As NEW Sheet Give Descriptive Name
46
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 46 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (9) Chart Wizard Result Change X-axis Scale: 2.5-4 Shorten Title Clear BackGround Lager, Sq Data Markers GridLine & Text Colors
47
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 47 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (10) Select Chart Area Then Right-Clik Select X-axis, Ther Right-Clik
48
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 48 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (11) Select Grid Lines, Rt-Clik, Chg Colors Select Data Series, Rt-Clik, Chg Marker
49
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 49 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (12) Position Labels at Page Edges → Stretch-Out Plot Area
50
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 50 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (13) Chart Fine-Tuning Result Add TrendLine to find Clapeyron m &b Constants
51
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 51 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (14) Select Data Series, Rt-Clik, Add TrendLn Select: Linear, Display Parameters
52
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 52 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (15) Fine Tune TrendLine Form & Display Done with Plot; and have determined m & b by Trendline Note that the Fit is Excellent; R 2 = 99.92%
53
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 53 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (16) Add Fitted Data to table Copy & Paste from Chart Calc Using m & b Analysis of Fit Characteristics Calc Error =(G4-E4)/E4
54
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 54 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Put Fitted Data on Chart On Table: Select & Copy Data On chart: EDIT → PASTE SPECIAL → dialog Box above
55
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 55 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (17) Fine Tune Two-Variable Display Error Data Series To Make Error Data More Visible Show using SECONDARY Axis at Right
56
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 56 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (18)
57
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 57 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (19) Fine Tune Two-Axes Display
58
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 58 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Chart Construction Demo (20)
59
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 59 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Nice Chart
60
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 60 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Coefficient of Correlation The coefficient of correlation is an indication of how well the linear relationship determined by the method of least squares fits the data set. The equation for the coefficient of correlation is:
61
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 61 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Interpretation of R If R is 0, the points are so scattered that the regression line does not help predict y for a given x. If R is +1 (positive slope) or –1 (negative slope), the points actually lie on a straight line so almost perfect predictions of y for a given x can be made using the regression line.
62
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 62 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Goodness of Fit R ValueCorrelation 0.9 to 1.0Very high positive 0.7 to 0.9High positive 0.5 to 0.7Moderate positive 0.3 to 0.5Low positive -0.3 to 0.3Little, if any -0.5 to -0.3Low negative -0.7 to -0.5Moderate negative -0.9 to -0.7High negative -1.0 to -0.9Very high negative
63
BMayer@ChabotCollege.edu ENGR-25_Lec-29_MS_Excel-2.ppt 63 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.