From a7463bff166e63cb5be6673cd09cfc8d520af55e Mon Sep 17 00:00:00 2001 From: angelotr Date: Mon, 6 Oct 2025 23:01:40 -0400 Subject: [PATCH] What I changed for my first checkpoint is I broke down the process of creating a scatter plot. Checkpoint 1: If I were to write out my own scatter plot I think I could write a bit. I would need help with how to begin the scatter plot but I would know what would be needed to complete the scatter plot. Getting the idea of what I need for the scatter plot is easier for me rather than putting what I need on paper as a code for my scatter plot without many trial and error attempts. --- planning_scatter.md | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/planning_scatter.md b/planning_scatter.md index d566f3f..64ebd37 100644 --- a/planning_scatter.md +++ b/planning_scatter.md @@ -2,11 +2,22 @@ - Draw a scatter plot. - Draw the axes. - - Draw the x-axis. - - Draw the line. - - ... + - Draw the x-axis for the x-axis. + - Get all x-values from the data. + - Find min and max of x-values. + - Calculate tick marks. + - Draw tick marks and labels. + + - Draw the y-axis. - - Draw the line. - - ... + - Draw the line for the y-axis. + - Get all the y-values from the data. + - Find the min and max of y-values. + - Calculate tick marks. + - Draw tick marks and labels. + - Plot the points. - - ... + - Find x and y bounds. + - scale each point to the screen size. + - Draw each point as a dot. +