1 Star 3 Fork 0

quxiaofeng/matplotplusplus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.github
cmake
documentation
examples
annotations
appearance
contour_plots
data_distribution
binscatter
boxplot
heatmap
CMakeLists.txt
heatmap_1.cpp
heatmap_2.cpp
heatmap_3.cpp
heatmap_4.cpp
heatmap_5.cpp
heatmap_6.cpp
heatmap_7.cpp
histogram
parallelplot
pie
plotmatrix
scatter
scatter3
wordcloud
CMakeLists.txt
discrete_data
exporting
geography
graphs
images
line_plot
polar_plots
surfaces
vector_fields
CMakeLists.txt
source
test
.clang-format
.gitignore
CMakeLists.txt
LICENSE
README.md
examples.md
gallery.md
matplot++-config.cmake.in
克隆/下载
heatmap_4.cpp 454 Bytes
一键复制 编辑 原始数据 按行查看 历史
#include <matplot/matplot.h>
int main() {
using namespace matplot;
std::vector<std::vector<double>> data = {
{45, 60, 32}, {43, 54, 76}, {32, 94, 68}, {23, 95, 58}};
heatmap(data);
title("T-Shirt Orders");
auto ax = gca();
ax->x_axis().ticklabels({"Small", "Medium", "Large"});
ax->y_axis().ticklabels({"Green", "Red", "Blue", "Gray"});
xlabel(ax, "Sizes");
ylabel(ax, "Colors");
show();
return 0;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quxiaofeng/matplotplusplus.git
git@gitee.com:quxiaofeng/matplotplusplus.git
quxiaofeng
matplotplusplus
matplotplusplus
master

搜索帮助