Chapter 5 Plotting Data Types of Graphs, Plotting with Excel Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Slides:



Advertisements
Similar presentations
San Jose State University Engineering 101 JKA & KY.
Advertisements

Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
© 2002 Prentice-Hall, Inc.Chap 2-1 Basic Business Statistics (8 th Edition) Chapter 2 Presenting Data in Tables and Charts.
Chapter 2 Presenting Data in Tables and Charts
Graphic representations in statistics (part II). Statistics graph Data recorded in surveys are displayed by a statistical graph. There are some specific.
Excel Charts – Basic Skills Creating Charts in Excel.
Chapter 2 Presenting Data in Tables and Charts
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 2-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Ch. 2: The Art of Presenting Data Data in raw form are usually not easy to use for decision making. Some type of organization is needed Table and Graph.
Chapter 2 Graphs, Charts, and Tables – Describing Your Data
Chapter 2 Describing Data Sets
Business 90: Business Statistics
Linear Simultaneous Equations
TABLES, CHARTS, AND GRAPHS. TABLES  A Table is simply a set of numbers from which you could draw a graph or chart.  A table should provide a clear summary.
Chapter 5 Plotting Data Curve Fitting, Good Graphing Practices Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Stats Unit.
Frequency Distributions and Graphs
Graphing Linear Equations
Charts and Graphs V
How do scientists show the results of investigations?
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Describing Data: Frequency Tables, Frequency Distributions, and Graphic Presentation Chapter 2.
© Copyright McGraw-Hill CHAPTER 2 Frequency Distributions and Graphs.
Copyright © 2015 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 C H A P T E R T W O Frequency Distributions and Graphs.
Graphical Analysis. Why Graph Data? Graphical methods Require very little training Easy to use Massive amounts of data can be presented more readily Can.
Chapter 9 Numerical Integration Flow Charts, Loop Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 6 Finding the Roots of Equations
Engineering H193 - Team Project Spring Quarter Gateway Engineering Education Coalition P. 1 Data Analysis and Presentation for Written and Oral Reports.
Quantitative Skills 1: Graphing
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11 Copyright © 2008 Prentice-Hall. All rights reserved. Chapter 3: Charts: Delivering a Message.
Chapter 03: Lecture Notes (CSIT 104) 11 Chapter 3 Charts: Delivering a Message Exploring Microsoft Office Excel 2007.
Lecture 2 Graphs, Charts, and Tables Describing Your Data
Graphs An Introduction. What is a graph?  A graph is a visual representation of a relationship between, but not restricted to, two variables.  A graph.
Chapter 2 Graphs, Charts, and Tables - Describing Your Data ©
Graphing Why? Help us communicate information : Visual What is it telling your? Basic Types Line Bar Pie.
Graphing In Science BRAINSTORM Why is it important for scientists to organize their data? List as many ways as you can that scientists organize information.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 2-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Tables and Graphing. Displaying Data Sometimes it is easier to read data in a visual format. This can come in the form of tables, graphs, charts, etc.
© 2003 Prentice-Hall, Inc.Chap 2-1 Chapter 2 Presenting Data in Tables and Charts Basic Business Statistics (9 th Edition)
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 2 Descriptive Statistics: Tabular and Graphical Methods.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 2 Descriptive Statistics: Tabular and Graphical Methods.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 2-1 Chapter 2 Presenting Data in Tables and Charts Statistics For Managers 4 th.
Statistical Methods © 2004 Prentice-Hall, Inc. Week 2-1 Week 2 Presenting Data in Tables and Charts Statistical Methods.
Chap 2-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course in Business Statistics 4 th Edition Chapter 2 Graphs, Charts, and Tables.
1.1 example these are prices for Internet service packages find the mean, median and mode determine what type of data this is create a suitable frequency.
Section 2-4 Other types of graphs.  Pareto chart  time series graph  pie graph.
Descriptive statistics Petter Mostad Goal: Reduce data amount, keep ”information” Two uses: Data exploration: What you do for yourself when.
SCIENCE SKILLS. Chapter Two: Science Skills  2.1 Mass and Volume  2.2 Density  2.3 Graphing  2.4 Solving Problems.
Describing Data Visually
Copyright © 2010 Pearson Education, Inc Chapter Twenty-Three Report Preparation and Presentation.
© Copyright McGraw-Hill CHAPTER 2 Frequency Distributions and Graphs.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 2-1 Chapter 2 Presenting Data in Tables and Charts Basic Business Statistics 11 th Edition.
Graphing Linear Equations From the beginning. What is a Linear Equation? A linear equation is an equation whose graph is a LINE. Linear Not Linear.
Chapter 2 Frequency Distributions and Graphs 1 Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presenting Research Findings
Statistical Analysis for Business & Economics: Summer 2010 Statistical Analysis for Business & Economics: Spring 2011 STATISTICAL ANALYSIS FOR BUS & ECON.
Chapter 4 MATLAB Programming MATLAB Troubleshooting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Copyright © 2014, The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Slide Copyright © 2009 Pearson Education, Inc. Ch. 3.1 Definition A basic frequency table has two columns: One column lists all the categories of.
Chapter 5: Organizing and Displaying Data. Learning Objectives Demonstrate techniques for showing data in graphical presentation formats Choose the best.
Plotting in Excel Ken youssefi Engineering 10.
Plotting in Excel KY San Jose State University Engineering 10.
Frequency Distributions and Graphs
Charts and Graphs V
2.2 Bar Charts, Pie Charts, and Stem and Leaf Diagram
Can’t I just use a pie chart for everything?
Lecture 3 part-2: Organization and Summarization of Data
Chapter-2: Measurements Dr. Chirie Sumanasekera
Charts Session 5.
Presentation transcript:

Chapter 5 Plotting Data Types of Graphs, Plotting with Excel Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Introduction Creating graphs is an important communications skill for all engineers and students Graphs can: – Allow visualization of large data sets – Show trends in data – Show cause-and-effect relationships To begin, we will look at different types of graphs (note: graphs are called “Charts” in Excel, “Plots” in MATLAB) Engineering Computation: An Introduction Using MATLAB and Excel

XY (Scatter) Plots Most important type of graph used in engineering An independent variable (x) is plotted on the horizontal axis, and a dependent variable (y) is plotted on the vertical axis We say that we are plotting “y versus x” Often, more than one dependent variable are plotted on the same axes. This allows comparisons to be made Engineering Computation: An Introduction Using MATLAB and Excel

An XY (Scatter) Graph Engineering Computation: An Introduction Using MATLAB and Excel Independent Variable (x) Dependent Variable (y)

Two Curves on Same Axes Allow Comparisons Engineering Computation: An Introduction Using MATLAB and Excel

Lines and Markers on XY Graphs Equations should be plotted with smooth curves, without point markers – the points used to create the curve are not significant Measured data points are significant, and should be shown with markers (the name “scatter plot” comes from the scattered appearance of a large number of data points on a graph) Engineering Computation: An Introduction Using MATLAB and Excel

Measured Data Points Engineering Computation: An Introduction Using MATLAB and Excel

Lines and Markers on XY Graphs With measured data, adding a line is almost always done. The line is typically: – A theory curve, which shows how well the data points agree with theoretical values, or – A fit line (called a trend line in Excel), which is a curve based on the values of the data points. We will explore curve-fitting later in this chapter. Engineering Computation: An Introduction Using MATLAB and Excel

Measured Data with Theory Curve Engineering Computation: An Introduction Using MATLAB and Excel

Pie Charts Less typical than XY-charts in engineering Not a particularly efficient chart – data can easily be shown in a table Easy to understand, can be effective when presenting to a non-technical audience Engineering Computation: An Introduction Using MATLAB and Excel

Pie Chart Engineering Computation: An Introduction Using MATLAB and Excel

Bar Graph Data is represented by side-by-side bars, with bar heights proportional to data values Excel nomenclature: “Bar chart” applies when bars are horizontal, “Column chart” applies when bars are vertical More common usage: “Bar graph” is used to describe either orientation Bar graphs allow easy side-by-side comparisons between data sets Engineering Computation: An Introduction Using MATLAB and Excel

Bar Graph Engineering Computation: An Introduction Using MATLAB and Excel

Bar Graph with Two Data Sets Engineering Computation: An Introduction Using MATLAB and Excel

Histogram Special type of bar graph Applied to continuous data sets that can be sorted into “bins” For example, if we ask students how much time they spent on a given assignment, we could group their answers into bins such as less than one hour, between one and two hours, between two and three hours, etc. When we create the bar graph, the bars should be as wide as the bins Engineering Computation: An Introduction Using MATLAB and Excel

Histogram Engineering Computation: An Introduction Using MATLAB and Excel Note that the bars touch each other – each bar spans the width of the bin

Pareto Diagram Often used in quality control Used to present categorical data – for example, if we track the number of service visits to a car dealer, we might categorize them by the type of problem In the Pareto diagram, the categories are sorted by the number of data points in each, from high to low A bar graph shows the relative frequency of each category A line shows the cumulative percentage for each category Engineering Computation: An Introduction Using MATLAB and Excel

Pareto Diagram Engineering Computation: An Introduction Using MATLAB and Excel Bar heights show relative frequency of each type of problem Line shows cumulative percentage. For example, first three categories account for almost 80% of all visits

XY Graphing Tutorial Graph response of spring-mass-damper system Before beginning this exercise, some background is helpful Engineering Computation: An Introduction Using MATLAB and Excel

Spring-Mass System Engineering Computation: An Introduction Using MATLAB and Excel This mass is hanging from a spring, at rest. The displacement, y, is zero at this position At time t = 0, the mass is pulled to the initial displacement y o and released The mass will then oscillate up and down

Spring-Mass System Engineering Computation: An Introduction Using MATLAB and Excel The time required for the mass to make one complete cycle is called the period of oscillation The inverse of the period is the natural frequency of the system, in units of cycles per time or radians per time. The natural frequency is a function of the spring stiffness and the mass Theoretically, the mass will continue to oscillate indefinitely, since there are no forces to stop it

Spring-Mass-Damper System Engineering Computation: An Introduction Using MATLAB and Excel In reality, we know that the oscillations will get smaller with time, even if only due to internal forces in the spring The presence of a damper will cause the oscillations to get smaller at a much faster rate Examples of dampers: Shock absorbers on cars, storm door closers

Spring-Mass-Damper System Engineering Computation: An Introduction Using MATLAB and Excel The damping coefficient is a measure of the effectiveness of the damper If the damping coefficient is less than one, we say the system is under damped, and will oscillate If the damping coefficient is one, then the system is critically damped and the mass will settle back to its original position without oscillating

Spring-Mass-Damper System Engineering Computation: An Introduction Using MATLAB and Excel In future courses, you will learn to formulate and solve the differential equation defining the system’s response For the under damped system, the solution is:

Graphing Response Given values for natural frequency, damping coefficient, and initial displacement, graph displacement y versus time t What time steps should you use? What time domain should you use? Trial and error: Need small enough time steps to produce a smooth curve and pick up all oscillations. Need to pick a time domain sufficient to show response adequately Engineering Computation: An Introduction Using MATLAB and Excel

Graphing Response Time domain = 0 to 1 seconds Can’t tell much – need to increase time Engineering Computation: An Introduction Using MATLAB and Excel

Graphing Response Time domain = 0 to 5 seconds Much better – shows that period is about 1 second; oscilations have been mostly damped out by 5 seconds Now we need to make it look nice Engineering Computation: An Introduction Using MATLAB and Excel

Finished Graph Engineering Computation: An Introduction Using MATLAB and Excel