{"id":138,"date":"2022-01-17T22:22:35","date_gmt":"2022-01-17T22:22:35","guid":{"rendered":"http:\/\/navigatingstem.com\/?p=138"},"modified":"2023-05-07T17:36:58","modified_gmt":"2023-05-07T17:36:58","slug":"excel-basics-for-chemistry-and-biology-plotting-a-graph-then-calculating-slope-and-line","status":"publish","type":"post","link":"https:\/\/navigatingstem.com\/index.php\/2022\/01\/17\/excel-basics-for-chemistry-and-biology-plotting-a-graph-then-calculating-slope-and-line\/","title":{"rendered":"Excel Basics for Chemistry and Biology: Graphing, Line and Slope."},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"http:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/Excel-Basics-for-Chemistry-and-Biology-Classes-2-768x1024.png\" alt=\"\" class=\"wp-image-162\" srcset=\"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/Excel-Basics-for-Chemistry-and-Biology-Classes-2-768x1024.png 768w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/Excel-Basics-for-Chemistry-and-Biology-Classes-2-225x300.png 225w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/Excel-Basics-for-Chemistry-and-Biology-Classes-2-1152x1536.png 1152w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/Excel-Basics-for-Chemistry-and-Biology-Classes-2-1536x2048.png 1536w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/Excel-Basics-for-Chemistry-and-Biology-Classes-2.png 1728w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p>Lines graphically illustrate linear functions, which are stated in slope-intercept form as:<\/p>\n\n\n\n<p>y=mx+b<\/p>\n\n\n\n<p>To calculate the line and slope for our data in excel we need to first make a plot. <\/p>\n\n\n\n<p>We are going to use example data that is plant height in centimeters for each day in a week. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"410\" height=\"367\" src=\"http:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-1.png\" alt=\"\" class=\"wp-image-141\" srcset=\"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-1.png 410w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-1-300x269.png 300w\" sizes=\"(max-width: 410px) 100vw, 410px\" \/><\/figure>\n\n\n\n<p>We have our data entered into excel in columns. In Column A we have &#8220;Days&#8221; which will be our x-axis in the plot. In Column B we have &#8220;Plant Height (cm)&#8221;, this will be our y-axis in the plot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"407\" src=\"http:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-2-1024x407.png\" alt=\"\" class=\"wp-image-142\" srcset=\"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-2-1024x407.png 1024w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-2-300x119.png 300w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-2-768x305.png 768w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-2.png 1153w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To create a plot, we first need to select the data to be in the plot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"625\" src=\"http:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-3-1024x625.png\" alt=\"\" class=\"wp-image-144\" srcset=\"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-3-1024x625.png 1024w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-3-300x183.png 300w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-3-768x468.png 768w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-3.png 1287w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To create the plot, we need to navigate to &#8220;Insert&#8221; shown at the top. In this menu, there will be multiple chart types you can choose from. We will be using a Scatter plot for this tutorial (shown highlighted in the above image). <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"441\" src=\"http:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-4-1024x441.png\" alt=\"\" class=\"wp-image-145\" srcset=\"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-4-1024x441.png 1024w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-4-300x129.png 300w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-4-768x331.png 768w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-4.png 1128w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After selecting the Scatter plot, we will see our data plotted in a graph. You can change the title by selecting the text and typing an appropriate title. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"406\" src=\"http:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-5-1024x406.png\" alt=\"\" class=\"wp-image-146\" srcset=\"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-5-1024x406.png 1024w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-5-300x119.png 300w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-5-768x305.png 768w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-5.png 1286w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next, we will add a trendline for our data. You will click on one of the data points and three options will appear to the right. The trendline option will appear when the &#8220;+&#8221; image is selected. Check the &#8220;Trendline&#8221; option to add a trendline that fits the data plotted. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"372\" src=\"http:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-6-1024x372.png\" alt=\"\" class=\"wp-image-147\" srcset=\"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-6-1024x372.png 1024w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-6-300x109.png 300w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-6-768x279.png 768w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-6.png 1525w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After plotting the trendline, we would like to determine the line equation and R-squared. By clicking the black triangle, you will be given a drop down menu. Clicking &#8220;more options&#8221; will bring up a menu to the right of the screen.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-7.png\" alt=\"\" class=\"wp-image-148\" width=\"245\" height=\"544\" srcset=\"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-7.png 280w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-7-135x300.png 135w\" sizes=\"(max-width: 245px) 100vw, 245px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<p>This menu will appear after selecting &#8220;More options.&#8221; To show the equation and R-squared value, check the two boxes for &#8220;Display Equation on chart&#8221; and &#8220;Display R-squared value on chart.&#8221;<\/p>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"426\" src=\"http:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-8-1024x426.png\" alt=\"\" class=\"wp-image-149\" srcset=\"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-8-1024x426.png 1024w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-8-300x125.png 300w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-8-768x320.png 768w, https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/image-8.png 1052w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now the equation will be shown on your chart in the form of y=mx+b. In this case, our slope is 0.0896 and our R-squared value is 0.9837.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lines graphically illustrate linear functions, which are stated in slope-intercept form as: y=mx+b To calculate the line and slope for our data in excel&#8230;<\/p>\n","protected":false},"author":2,"featured_media":162,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_rtcl_gb_attr":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/navigatingstem.com\/wp-content\/uploads\/2022\/01\/Excel-Basics-for-Chemistry-and-Biology-Classes-2.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/posts\/138"}],"collection":[{"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":8,"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":163,"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/posts\/138\/revisions\/163"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/media\/162"}],"wp:attachment":[{"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/navigatingstem.com\/index.php\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}