Files
lab_scatter/planning_scatter.md
angelotr a7463bff16 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.
2025-10-06 23:01:40 -04:00

604 B

Planning the scatter plot

  • Draw a scatter plot.
    • Draw the axes.

      • 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 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.