generated from mwc/lab_scatter
741 B
741 B
Planning the scatter plot
- Draw a scatter plot.
- 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.
- Draw the x-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.
- For each point
- Draw the axes.