有没有什么“开箱即用”的东西? C++ 的 2D/3D 绘图库?

发布于 2024-07-08 16:11:11 字数 1557 浏览 6 评论 0原文

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

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

发布评论

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

评论(14

梦中的蝴蝶 2024-07-15 16:11:12

你可以使用 DISLIN

它非常简洁!

u can use DISLIN

it is quite neat!

后来的我们 2024-07-15 16:11:12

wxChart 可能是一个选择吗? 不过我自己还没有使用过,而且看起来它已经有一段时间没有更新了。

Might wxChart be an option? I have not used it myself however and it looks like it hasnt been updated for a while.

硬不硬你别怂 2024-07-15 16:11:12

只是一个想法:使用 Python 作为嵌入式脚本语言来绘制图表。 Python 有大量的绘图库

Just an idea: Use Python as embeddable scripting language to plot your graphs. Python has a plethora of plotting libraries.

高冷爸爸 2024-07-15 16:11:12

我发现 Allegro 游戏库在当时很容易使用。 也许值得一瞧。

I found the game library Allegro easy to use back in the day. Might be worth a look.

在巴黎塔顶看东京樱花 2024-07-15 16:11:12

我们使用旧版本的 ComponentOne Chart

We use an ancient version of ComponentOne Chart.

谈情不如逗狗 2024-07-15 16:11:12

反颗粒几何 (AGG)。 http://www.antigrain.com/。 它是一个开源 2D 矢量图形库。 它是一个独立的库,没有额外的依赖项。 有良好的文档。 Python 绘图库 matplotlib 使用 AGG 作为后端之一。

AntiGrain Geometry (AGG). http://www.antigrain.com/. Its an opensource 2D vector graphics library. Its a standalone library with no additional dependencies. Has good documentation. Python plotting library matplotlib uses AGG as one of backends.

近箐 2024-07-15 16:11:12

看看wxArt2d,它是一个完整的二维编辑和绘图框架。 有关更多示例,请参阅屏幕截图

一些有趣的功能:

  • 读取和写入 SVG 和 CVG
  • 同一文档的多个视图
  • 空闲时更新更改
  • 优化 2d 对象的绘制

Have a look at wxArt2d it is a complete framework for 2d editing and plotting. See the screenshots for more examples.

Some interesting features:

  • Reading and writing SVG and CVG
  • Several views of the same document
  • Changes are updated when idle
  • Optimized drawing of 2d objects
等你爱我 2024-07-15 16:11:12

嘿! 我是 wxMathPlot 的开发者! 该项目处于活动状态:我只是花了很长时间才获得新版本,因为代码需要部分重写以引入新功能。 看看新的0.1.0版本:它比旧版本有了很大的改进。 无论如何,它不提供 3D(即使我一直在想它......)。

Hey! I'm the developer of wxMathPlot! The project is active: I just took a long time to get a new release, because the code needed a partial rewriting to introduce new features. Take a look to the new 0.1.0 release: it is a great improvement from old versions. Anyway, it doesn't provide 3D (even if I always thinking about it...).

莫相离 2024-07-15 16:11:12

OpenGL。 不过,这会很困难,而且可能会重写轮子。
请记住,OpenGL 是一个通用的 3D 库,而不是特定的绘图库,但您可以基于它来实现绘图。

OpenGL. It WILL be hard and possibly rewriting the wheel, though.
Keep in mind that OpenGL is a general 3D library, and not a specific plot library, but you can implement plotting based on it.

栀梦 2024-07-15 16:11:11

尽管这根线很旧,但却是金子。 QCustomPlot 也非常值得推荐,可以补充此列表。

Even though this thread is old but gold. QCustomPlot is very recommendable as well to complement this list.

风追烟花雨 2024-07-15 16:11:11

MathGL 有多种绘图类型、C/Fortran 接口和基本数据分析

MathGL have many plot types, C/Fortran interface and basic data analysis

顾挽 2024-07-15 16:11:11

我非常关心 ROOT 来满足这些需求。 不过,如果您不需要所有的分析支持,那么就相当沉重了。

I'm all about ROOT for these needs. Pretty heavy if you don't need all the analysis support, though.

迎风吟唱 2024-07-15 16:11:11

您拥有成熟的Qwt。 有一个 3D 版本潜伏在某处。 然而,我对美学结果一直不满意。

可能值得等待 Qt3D轻松地自己写出更好的东西。

You have Qwt which is mature. There is a 3D version lurking somewhere. However, I have never been satisfied with the aesthetic result.

It may be worth waiting for Qt3D to come out to write something better yourself easily.

无敌元气妹 2024-07-15 16:11:11

我以编程方式向 GNUPlot 可执行文件提供所需的输入文件,并使用 system() 函数调用它。 它适合我的情况,因为我只想在研究过程中可视化我的数据。 但如果您希望将绘图功能集成到可执行文件中,也许这不适合您:)

I programmatically provide required input files to GNUPlot executable and invoke it using system() function. It is suitable to my situation since I only want to visualize my data during research. But if you want the plotting functionality integrated into your executable file, maybe this is not for you :)

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