x1 = np.array([160, 165, 170, 175, 180, 185, 190, 195, 200, 205]) y1 = np.array([55, 58, 60, 62, 64, 66, 68, 70, 72, 74]) x2 = np.array([150, 155, 160, 165, 170, 175, 180, 195, 200, 205]) y2 = np.array([50, 52, 54, 56, 58, 64, 66, 68, 70, 72]) plt.scatter(x1, y1, color='blue', label='Group 1') plt.scatter(x2, y2, color='red', label='Group 2') plt.xlabel('Height (cm)') plt.ylabel('Weight (kg)') plt.title('Comparison of Height vs Weight between two groups') plt.legend() plt.show()