Question: You are given a set of six data ( x , y ) points as a list of tuples. Here is an example, [ (

You are given a set of six data (x, y) points as a list of tuples. Here is an example, [(20,80),(40,170),(60,10),(80,70),(100,90),(120,150)]. Note that each pair of value in the tuple is x, y coordinate pair of the data set. Write a Python turtle function to draw a scatter plot of given such data set. Please follow the instructions below:
Write a separate function to draw two axis; explain why it is good to have separate function for this as a code comment
Write a separate function for drawing the scatter plot. Make sure your function can handle any list of 6 coordinate pairs, not just above list
Give the user a choice of color for the plot
Add scaling and option to draw starting at any location (to use the entire pane)
Write a sperate function to mark points as a circle or "x" mark

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!