C 2D绘图库 [英] C 2D Plotting Library

查看:117
本文介绍了C 2D绘图库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.我正在寻找绘图库时,我有一个尚未开始的项目.

如果有任何东西(轻量且可重新分发),我很乐意使用它.

它也可以是GDI包装器.

我需要做的就是能够绘制两个轴和一个代表图表/图形数据的键.

有什么建议吗?

整个项目是C,而不是C ++和/或其他托管代码技术.
但是,如果它可以是C ++编写的库,那很好,只要它导出C兼容方法(而不是类)即可.

希望现在可以使它变得更加清晰.

Hello. I have a project that I haven''t started yet as I am looking for a plotting library.

If there''s any out there(lightweight and re-destributable) I''d be happy to use it.

It can also be a GDI wrapper.

All I need it to do is be able to draw two axes and a key representing the chart/graph data.

Any suggestions?

The whole project is in C and not C++ and / or other managed code technologies.
However if it can be a C++ written library, that is fine provided that it exports C compatible methods (not classes).

Hope this makes it more clear now.

推荐答案

PLplot [ ^ ]或MathGL [ ^ ]


我猜想通过绘制图表,您正在考虑图表(而不是更险恶的:))
CP上有一个适合您的项目:
.NET的灵活图表库 [ http://cairographics.org/ [ ^ ]
示例"页面 [ GTK/开​​罗线图小部件 [
I guess that by plotting you are thinging about a chart (and not something more sinister :) )
There is one project here on CP that may suit you:
A flexible charting library for .NET[^]

[Updated for c]
Cairo is a 2D graphics library with support for multiple output devices
http://cairographics.org/[^]
On the Examples page[^] - you will find links to various charting examples/implmentations

If you don''t mind using GTK+ have a look at GTK/Cairo Line Graph widget[^]

Best regards
Espen Harlinn


这篇关于C 2D绘图库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆