Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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, 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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started