+ All Categories
Home > Documents > Excel 2003 tutorial 4 graphs

Excel 2003 tutorial 4 graphs

Date post: 18-May-2015
Category:
Upload: catacata1976
View: 226 times
Download: 2 times
Share this document with a friend
Popular Tags:
17
Excel: Using LINEST function, Plotting a graph, Adding Error Bars Raghav K Chhetri 01/24/2009
Transcript
Page 1: Excel 2003 tutorial 4 graphs

Excel: Using LINEST function, Plotting agraph, Adding Error Bars

Raghav K Chhetri01/24/2009

Page 2: Excel 2003 tutorial 4 graphs

Using LINEST function

NOTE: I mistakenly put (m) for the unit of time.

• Lets start with a tablefor time and velocity asshown on the right.

• LINEST functionreturns several outputs,so to begin with, select a2 by 5 array as shown.

Page 3: Excel 2003 tutorial 4 graphs

Under the Insert Tab, select Function. Then, make theselections as shown below. Hit OK.

Page 4: Excel 2003 tutorial 4 graphs

Select the y-values and x-values from the table.

Write ‘TRUE’ for the last two boxes. Hit OK.

Page 5: Excel 2003 tutorial 4 graphs

Now, highlight the formula in the formula bar.

Press Ctrl+Shift simultaneously and hit Enter (Macusers, press Command and hit Enter)

Page 6: Excel 2003 tutorial 4 graphs

Linest Function

• The array weselected earlieris now filledwith numbersas shown tothe right

• Lets see whatsome of thesenumbers mean

Page 7: Excel 2003 tutorial 4 graphs

Linest Function

Page 8: Excel 2003 tutorial 4 graphs

Plotting a graph• Select the x-column first.

Hold down the CRTL keyand select the y-columnnext.

• Choose XY scatter, undersubtype, select the first one asshown

Page 9: Excel 2003 tutorial 4 graphs

Plotting a graph

• Give an appropriate titleto the graph

• Label the axes (Don’tforget the UNITS!!)

Page 10: Excel 2003 tutorial 4 graphs

Plotting a graph

• Select ‘As new sheet’. Name the sheetappropriately.

Page 11: Excel 2003 tutorial 4 graphs

Plotting a graph

• Highlight the data points, select ‘Add Trendline’

Page 12: Excel 2003 tutorial 4 graphs

Plotting a graph

• Choose ‘Linear’ under‘Type’

• Select the options todisplay equation andR^2 value on chart

Page 13: Excel 2003 tutorial 4 graphs

Adding Error BarsNow that we have the plot, lets add the error bars.

• Select the data points andright click

• Select ‘Format Data Series’

Page 14: Excel 2003 tutorial 4 graphs

Adding Error Bars• Click on the ‘X Error Bar’

tab

• Select ‘Both’

• Under ‘Custom’, click on thewidget on the right of the +box

• Go back to the data sheetand select the uncertainty inx-values (next slide)

Page 15: Excel 2003 tutorial 4 graphs

Adding Error Bars

• Select the uncertaintyas shown, then click onthe widget on the right

• Repeat the same forthe - box once donewith the + box

• This adds the errorbars in the X-direction

Page 16: Excel 2003 tutorial 4 graphs

Adding Error Bars

• Repeat thesame procedurefor puttingerror bars in theY direction

• Once done,your graphshould look asshown to theright

Page 17: Excel 2003 tutorial 4 graphs

The End.


Recommended