In this article, I demonstrate how to write code to create an X-Y plot or line graph.
在本文中,我演示了如何编写代码来创建X - Y坐标图和线形图。
Once you understand the technique behind an X-Y plot, you should be able to chart out other plotters, like bar and pie.
一旦知道了绘制X - Y坐标图的技术,就应该能够绘制出其他图形,比如条形图和饼图。
Since when we called plot, I gave it only the y-values, it used default values for x.
因为让我们调用plot的时候,我只给了它y的值,所以x的取值是默认的。
应用推荐