Introduction
Welcome to the lab on Matplotlib Scatter Plots! Scatter plots are a fundamental tool in data visualization, used to display values for typically two variables for a set of data. They are excellent for observing relationships or correlations between variables.
In this lab, you will use the Matplotlib library in Python to create scatter plots. You will learn how to:
- Generate data arrays using NumPy.
- Create a basic scatter plot with
plt.scatter(). - Customize the appearance of the plot, including marker size and color.
- Add a grid to improve readability.
All your work will be done in the WebIDE environment. You will write Python code in a file and run it from the terminal. Since this environment is non-interactive, you will save your plots to an image file using plt.savefig() instead of displaying them with plt.show().
Let's get started!







