绘制很多点

发布于 2024-11-19 07:46:47 字数 142 浏览 7 评论 0原文

我有一个包含大约 740 万(复杂)点的文件。这些点可能来自分形的子集。如何绘制这些点? 我想将它们放入 postscript 文件中,但我不确定 postscript 是否可以处理这么多点。

有人可以帮我解决这个问题吗?

谢谢你, 努德

I have a file with aproximately 7.4 million (complex) points. These points probably from a subset of a fractal. How can these points be plotted?
I want to put them in a postscript file, but I'm not sure if postscript can handle this many points.

Can someone help me with this problem?

Thank you,
Noud

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

乖不如嘢 2024-11-26 07:46:47

Postscript 似乎是一个糟糕的选择,因为它将每个点维护为单独的对象。我认为更好的方法是使用 ImageMagick 命令行工具将像素写入某些目标图像。那么您就不会尝试维护 740 万个矢量形状 - 只是像素。

Postscript seems like a poor option because it will maintain each of the points as a separate object. I think a better approach would be to use something like ImageMagick's command line tools to write pixels to some target image. Then you're not trying to maintain 7.4 million vector shapes -- just pixels.

罪歌 2024-11-26 07:46:47

我认为通常的散点图对你来说就可以了。关于 EPS/PDF——形式上这是可能的,但生成的文件大小将达到数百 Mb 的量级。我同意位图图像可能更适合您的情况。

例如,要生成此类图,您可以使用 MathGL。它是免费的(GPL)跨平台绘图库。 MathGL 有一个前端 UDAV

I think usual scatter plot will be OK for you. Concerning EPS/PDF -- formally it is possible, but resulting file will have a size of order of hundred Mb. I agree that bitmap image may be better for yours case.

For producing such plot you can use MathGL, for example. It is free (GPL) cross-platform plotting library. There is a front-end UDAV for MathGL.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文