好的 C 绘图库? [英] Good plotting library for C?

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

问题描述

我的问题在本质上与这个问题非常相似:什么是最好的 Python 绘图库?

My question is very similar in spirit to this question: What is the best plotting library for Python?

在 C 中绘制数据的最佳选择是什么?我是否最好放弃库而只生成可以直接输入 gnuplot?

What is my best bet for plotting data in C? Am I better off forgoing a library and just generating data that I can feed directly into gnuplot?

我对这个问题的动力是能够在研究 之前的优秀资源的同时可视化 DSP 转换我的问题.所以重点实际上只是 2D 图、直方图等;3D 现在没那么重要了.

My impetus for this question is being able to visualize DSP transformations while studying the excellent resources found in an earlier question of mine. So the focus is really just 2D plots, histograms, etc.; 3D isn't as important right now.

推荐答案

我认为您在使用 gnuplot 时走在正确的轨道上.对于您想要的,它非常强大和灵活.

I think you are on the right track with gnuplot. For what you want, it's very powerful and flexible.

但是,您可能需要考虑直接从应用程序写入 gnuplot,而不是创建数据并提供数据.有一个 ANSI C API to gnuplot 可用.

However, you may want to consider writing to gnuplot directly from your application instead of creating data and feeding it. There is an ANSI C API to gnuplot available.

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

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