Open honor-pan opened 5 years ago
你好!我想请问一下博主,怎样根据数值的大小来改变这些散点的大小。
如果你指的是程序方面的问题的话,我用python里的matplotlib.pyplot.scatter()函数画的图,改变参数s即可改变点的大小,代码像这样:
python
matplotlib.pyplot.scatter()
s
import matplotlib.pyplot as plt plt.sactter(x=[1, 2, 3], y=[1, 2, 3], s=[1, 2, 3])
你好!我想请问一下博主,怎样根据数值的大小来改变这些散点的大小。