Scatter Plot of Temperature vs. Hours After Sunrise with Linear Fit

Scatter Plot of Temperature vs. Hours After Sunrise with Linear Fit
Loading the math board and drawing, please wait…
2012-05-31 00:07
In collections CCGPS CA Unit 4 Lesson 2
This example records the temperature each hour after sunrise on a May morning, plots the data as a scatter plot, and fits a linear function to illustrate the linear relationship between time and temperature. It covers core concepts such as linear equations, linear functions, slope and intercept, as well as the technique of overlaying a function graph on a scatter plot. The construction in GeoGebra employs commands like Corner, Polygon, Textfield, Sequence, Line, and VerticalText, along with objects Corn1–Corn4, Corn2, Corn3, Slid, poly1, etc., to generate point sequences, text labels, and interactive sliders for dynamic visualization. Ideal for middle or high school students learning about functions, data analysis, and introductory GeoGebra usage.

GeoGebra Commands & Parameters

  1. Corner(2) → Corn2
  2. Corner(3) → Corn3
  3. Polygon(Corn1, Corn2, Corn3, Corn4) → poly1, corn1, corn2, corn3, corn4
  4. Textfield(A2) → InA2
  5. Textfield(A3) → InA3
  6. Textfield(A4) → InA4
  7. Textfield(A5) → InA5
  8. Textfield(A6) → InA6
  9. Textfield(A7) → InA7
  10. Textfield(A8) → InA8
  11. Textfield(A9) → InA9
  12. Textfield(B9) → InB9
  13. Textfield(B8) → InB8
  14. Textfield(B7) → InB7
  15. Textfield(B6) → InB6
  16. Textfield(B5) → InB5
  17. Textfield(B4) → InB4
  18. Textfield(B3) → InB3
  19. Textfield(B2) → InB2
  20. Sequence(Segment[(9.5, 10 + (6.5 * j)), (12.2, 10 + (6.5 * j))], j, 0, 9) → LnList
  21. Sequence(Segment[(9.5 + (1.35 * j), 10), (9.5 + (1.35 * j), 68.5)], j, 0, 2) → LnList2
  22. Line(I, J) → FitLine
  23. VerticalText("\text{Temperature (}°\text{F)}") → DownLegend