From e4b8042ee6431816a4192d1398d9c235ad0cdc1a Mon Sep 17 00:00:00 2001 From: Chris Mekelburg Date: Tue, 1 Oct 2024 20:02:39 -0400 Subject: [PATCH] Checkpoint 1: Plan for Scatter plot I think the drawing part of the scatter plot, such as the lines for the axes and tick marks would be the easiest to draw so far because they most resemble turtle drawings from unit 1. I think these drawings would be somewhat complex based on the different distances the turtle has to move so I look forward to what we will learn in this lab to hopefully simplify that process. My sense is that this lab will cover functions such as max and min and also how to draw using the turtle while pulling values from a list. --- planning_scatter.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/planning_scatter.md b/planning_scatter.md index d566f3f..1f1aad8 100644 --- a/planning_scatter.md +++ b/planning_scatter.md @@ -4,9 +4,20 @@ - Draw the axes. - Draw the x-axis. - Draw the line. - - ... + - Pick the maximum and minimum. + - Calculate the range (max-min). + - Determine the length of each interval. + - Make tick marks for each interval. + - Add a label for the axis. - Draw the y-axis. - Draw the line. - - ... + - Pick the maximum and minimum. + - Calculate the range (max-min). + - Determine the length of each interval. + - Make tick marks for each interval. + - Add a label for the axis. - Plot the points. - - ... + - For each point + - Move over by the x value. + - Move up by the y value. + - Return to origin so process can be repeated for each point.