1 Star 0 Fork 2

sanqima/matplotlib-cpp

forked from lzc/matplotlib-cpp 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bar.cpp 328 Bytes
一键复制 编辑 原始数据 按行查看 历史
weijun.liu 提交于 2018-12-05 23:03 +08:00 . Add bar plot and subplots_adjust
#define _USE_MATH_DEFINES
#include <iostream>
#include <string>
#include "../matplotlibcpp.h"
namespace plt = matplotlibcpp;
int main(int argc, char **argv) {
std::vector<int> test_data;
for (int i = 0; i < 20; i++) {
test_data.push_back(i);
}
plt::bar(test_data);
plt::show();
return (0);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/docplus/matplotlib-cpp.git
git@gitee.com:docplus/matplotlib-cpp.git
docplus
matplotlib-cpp
matplotlib-cpp
master

搜索帮助