简体   繁体   English

点的上限 pyplot

[英]Upper limit of points pyplot

Just being a curious George here.在这里只是一个好奇的乔治。

But I'm handling 279 million data points (x,y) and am wondering if pyplot can scatter such a number?但是我正在处理2.79 亿个数据点 (x,y) 并且想知道 pyplot 是否可以散布这样一个数字?

Thanks.谢谢。

If you want to colorize each point on a usual HD screen that would result in ~2 million points.如果您想为普通高清屏幕上的每个点着色,这将导致约 200 万个点。 It does not seem to make sense to plot more than 100 times that much data.绘制超过 100 倍的数据似乎没有意义。 Apart this is surely a question of available memory and computing time.除此之外,这肯定是可用内存和计算时间的问题。

So I ran the experiment.所以我进行了实验。 After 15 minutes the plotting window appeared on screen, being completely black. 15 分钟后,绘图窗口出现在屏幕上,完全黑了。 After another 15 minutes the plot was drawn on screen.又过了 15 分钟后,该图被绘制在屏幕上。 Makes 30 minutes in total.总共做30分钟。 This was done using python 64bit on a 3GHz computer with 16 GB RAM.这是在具有 16 GB RAM 的 3GHz 计算机上使用 python 64 位完成的。

Note that I did not colorize the points differently, which would of course still increase draw time.请注意,我没有对点进行不同的着色,这当然会增加绘制时间。

So the answer is: Yes, it's possible.所以答案是:是的,这是可能的。 ...but probably not useful and there are much more efficient ways to draw points on a screen. ...但可能没有用,并且有更有效的方法在屏幕上绘制点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM