绘图引擎
Plotting engine
在C/c++领域我不知道一个轻量级的和好看的库用于创建图形。我有兴趣创建一个具有"gnuplot"功能的c++库作为一个长期项目-首先是绘制线条:)。
因此,我对论文、关键词、结构等感兴趣。
在第一步,它将足够创建一个图像格式,如Jpeg或PNG, EPS,而不使用窗口绘制。希望我能得到信息的地方看:)
问候
试试这个库。它是Ch/c++: https://www.softintegration.com/docs/ch/plot/
绘图就像
一样简单 #include <math.h>
#include <chplot.h>
int main() {
int numpoints = 36;
array double x[numpoints], y[numpoints];
class CPlot plot;
lindata(0, 360, x, 36);
y = sin(x*M_PI/180);
plotxy(x, y, "Ch plot", "xlabel", "ylabel", &plot);
/* create a postscript file */
plot.outputType(PLOT_OUTPUTTYPE_FILE, "postscript eps", "demo.eps");
plot.plotting();
/* create a png file */
plot.outputType(PLOT_OUTPUTTYPE_FILE, "png color", "demo.png");
plot.plotting();
}
相关文章:
- 当使用带有VS2019或VSCode的虚幻引擎4.24.2时,我如何修复这些错误的Intellisense错误
- Unity在虚幻引擎4中的"Vector3.Slerp"等效C++?
- 如何创建从Maya(或类似程序)到虚幻引擎的自定义数据导出插件
- 在虚幻引擎中删除NXOpen对象时崩溃
- 引擎节点:未定义的符号:_ZTV6Config
- Agora.io 虚幻引擎插件构建错误
- <random>在实践中应该实际使用哪个随机数引擎? std::mt19937?
- 无法在 Arch Linux 中启动虚幻引擎 4
- 在虚幻引擎中触发C++ dll的事件
- 在 C/C++ 中加载 OpenSSL 自定义引擎
- 组件上的虚幻引擎可蓝图UFUNCTION会导致构建错误
- 使用Visual Studio在虚幻引擎中创建一个新的类c ++给了我太多的错误
- 提高基于组件的游戏引擎的效率
- 在C++中嵌入 Mozilla 的 JavaScript 引擎
- 如何在虚幻引擎4中将char*转换为TCHAR?
- 如何将外部代码包含在虚幻引擎4 C++项目中
- 如何使用虚幻引擎"filter"多播?
- 我可以在没有Xcode的情况下在Mac上使用带有C++的虚幻引擎吗?
- 虚幻引擎C++生成演员错误
- 绘图引擎