lab_scatter/planning_scatter.md

620 B

Planning the scatter plot

  • Draw a scatter plot.
    • Draw the axes.
      • Draw the x-axis.
        • Draw the line.
        • Determine the minimum and maximum values.
          • Read the list.
          • Order the list.
          • Print head 1.
          • Print tail 1.
        • Draw the ticks.
        • Label the ticks.
      • Draw the y-axis.
        • Draw the line.
        • Determine the minimum and maxiumum values.
          • Read the list.
          • Order the list.
          • Print head 1.
          • Print tail 1.
        • Draw the ticks.
        • Label the ticks.
    • Plot the points.
      • Draw dots for each ordered pair.