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.
This commit is contained in:
angelotr
2025-10-06 23:01:40 -04:00
parent 27fa360389
commit a7463bff16

View File

@@ -2,11 +2,22 @@
- Draw a scatter plot. - Draw a scatter plot.
- Draw the axes. - Draw the axes.
- Draw the x-axis. - Draw the x-axis for the x-axis.
- Draw the line. - 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 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. - Plot the points.
- ... - Find x and y bounds.
- scale each point to the screen size.
- Draw each point as a dot.