20

Using Excel to Graph Data

  • Upload
    vesna

  • View
    83

  • Download
    0

Embed Size (px)

DESCRIPTION

Using Excel to Graph Data. Objectives. Today, you will learn how to: Make a constant value a cell instead of a number Create a scatter plot for your data Insert a trendline into your graph Format your graph with gridlines and axes titles. Preliminaries. - PowerPoint PPT Presentation

Citation preview

Page 1: Using Excel to Graph Data
Page 2: Using Excel to Graph Data

Today, you will learn how to:Make a constant value a cell instead of a

numberCreate a scatter plot for your dataInsert a trendline into your graphFormat your graph with gridlines and axes

titles

Page 3: Using Excel to Graph Data

First, you will enter your given set of data into an Excel spreadsheet.

Make sure you put your mass value in it’s own cell. We will use this value as a constant in your equation.

Page 4: Using Excel to Graph Data

Usually, when you copy a formula, it will change the row/column as you copy the formula.

To prevent this, put a $ in front of both the column letter and the row number (ex. $A$4)

Enter the force equation using the mass from the cell instead of typing the number

Page 5: Using Excel to Graph Data

As you can see in the picture below, the $ does not let the cell with the $ change:

Page 6: Using Excel to Graph Data

To calculate an average in Excel, you will want to type AVERAGE(), and put the cells you would like to average inside the parentheses.

Page 7: Using Excel to Graph Data

Excel also allows us to create graphs for data analysis

To graph, start by highlighting two columns of data

Click on the “Insert” tab, then click the scatterplot button.

Page 8: Using Excel to Graph Data

The first column you highlight will appear on the horizontal axis of the graph.

The second column you highlight will appear on the vertical axis of the graph

For the majority of your graphs, you will want to graph points, not lines.

Page 9: Using Excel to Graph Data

Your graph should look like this:

You should delete both instances of “Force (N)” from the graph, since you will put titles under graphs. (Only delete the title if you have multiple sets of data on a single graph)

Page 10: Using Excel to Graph Data

Click on your graphThe “Chart Tools” menu will showSelect the “Layout Tab”Click on the “Axes Titles” button to add

horizontal and vertical axes titles.

Page 11: Using Excel to Graph Data

For the horizontal axis, your title should read “Radius(m)”

For the vertical axis, your title should read “Force (N)”

Page 12: Using Excel to Graph Data

You will also want to add both major & minor gridlines for both the horizontal and vertical axes

In the same menu, click the “Gridlines” button, then insert the appropriate gridlines on your graph

Page 13: Using Excel to Graph Data

Your graph should now look like this:

Page 14: Using Excel to Graph Data

Generally, when we take a set of data, we like to find an equation to model the data.

To add a trendline, right click on a data point on your graph. Select “Add Trendline”.

Page 15: Using Excel to Graph Data

A menu will pop up. For this graph, you will select:A linear fitShow equation on chart

Do NOT select the “Set Intercept” button.

Page 16: Using Excel to Graph Data

Select close and move your equation so it can easily be read.

Your graph should look like this:

Page 17: Using Excel to Graph Data

Your trendline is given as a generic y vs. x graph, since Excel does not know the variables you used to produce the graph.

When you present your data in your lab report, you should replace the y and x with the appropriate variables for your experiment.

Example F = 34.12r + 0.562

Page 18: Using Excel to Graph Data

Your graph should have a white background when you submit your report.

This should be a default setting on Office 2007. However if you have a grey or another color background, you need to change the color to white.

You can do this using the “Design” tab under the “Chart Tools” menu. Select a design with a white background.

Page 19: Using Excel to Graph Data

Just like your data table in your spreadsheet, you will want to copy and paste your graph into a Word file when you write your lab report.

Make sure your graph utilizes as much space as possible (~ ½ page) by clicking on a corner and dragging the image so it is larger.

Make sure you type and center a title below the graph.Figure 1 – A graph of centripetal force vs. the

radius of the hanging mass.

Page 20: Using Excel to Graph Data

The End