Checkpoint 1

I think I would be able to make the axes and the evenly spaced
tick marks. I don't know how to use the x and y values from the
list yet so I don't think I'd be able to make the labels or plot
the points on the scatter plot.
This commit is contained in:
Thomas Naber 2023-07-31 11:24:41 -04:00
parent d373f4693d
commit 8e57a173bb
1 changed files with 22 additions and 3 deletions

View File

@ -4,9 +4,28 @@
- Draw the axes.
- Draw the x-axis.
- Draw the line.
- ...
- Find the range of the x-values
- Divide the range by 5
- Start at the origin. Label it with the lowest x-value
- repeat until at the end of the axis:
- add 1/5 of the range to the x-value
- move to the right 1/5 of the length of the axis
- draw a tick mark and label with the next x-value
- Draw the y-axis.
- Draw the line.
- ...
- Find the range of the y-values
- Divide the range by 5
- Start at the origin. Label it with the lowest y-value
- repeat until at the end of the axis:
- add 1/5 of the range to the y-value
- move up 1/5 of the length of the axis
- draw a tick mark and label with the next y-value
- Plot the points.
- ...
- Repeat for each point:
- Start with turtle at the "origin"
- move to the right the amount of the difference between the x-value and the lowest x- value
- move up the amount of the difference between the y-value and the lowest y-value
- plot the point
- return to the "origin"