Page 1 of 1

Lab9: Exercise 1 ... Consider the following code in the colab environment PYTHON I i import matplotlib.pyplot as plt 2 x

Posted: Sat May 14, 2022 3:34 pm
by answerhappygod
Lab9 Exercise 1 Consider The Following Code In The Colab Environment Python I I Import Matplotlib Pyplot As Plt 2 X 1
Lab9 Exercise 1 Consider The Following Code In The Colab Environment Python I I Import Matplotlib Pyplot As Plt 2 X 1 (67.76 KiB) Viewed 64 times
For question 3 the answer is option 1 and 3?
Lab9: Exercise 1 ... Consider the following code in the colab environment PYTHON I i import matplotlib.pyplot as plt 2 x = [3,-2,5,6] 3 y = [1,6,7,5] 4 fig, ax = plt.subplots() 5 ax.plot(x,y) 6 plt.show() Select all possible code lines that can change to remove the solid lines between the four points, and just draw the points? line 5: ax.scatter(x,y) line 5: ax.plot(x, y, "0") line 5: ax.bar(x,y) 工具箱快捷入口 line 5: ax.subplot(x,y)

Next Lab9: Exercise 1 ... Question 3 Which of the following is correct way to use plot() to draw a line chart with dashed linestyle? Select all possible answers. ax.plot([1, 2, 4], linestyle='dotted', marker = "*") ax.plot([1, 2, 4], linestyle='--', marker = "") ax.plot([1, 2, 4], linestyle=':', marker = "0") ax.plot([1, 2, 4], linestyle='dashed', marker = "_")