Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# This scatter plot was generated using Python and matplotlib libraries.import matplotlib.pyplot as plt# Extracting data from the imageinvestments = [ 1 2 , 2

# This scatter plot was generated using Python and matplotlib libraries.import matplotlib.pyplot as plt# Extracting data from the imageinvestments =[12,20,16,18,21]profits =[16,25,19,22,18]# Create the scatter plotplt.figure(figsize=(8,6))plt.scatter(investments, profits)# Label the axesplt.xlabel("Investments (in Rs. Lakhs)")plt.ylabel("Profits (in Rs. Lakhs)")# Add a titleplt.title("Scatter Diagram of Investments vs. Profits")# Show the plotplt.show()

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions