啊啊啊啊啊吖

2019-02-15   阅读量: 3615

数据分析师 Python数据分析

如何通过matlab hist函数绘制下图?

扫码加入数据分析学习群


如何通过matlab hist函数绘制下图?
第1组:[10,10,20]; 和第2组:[15,10,8]。每组包含三个算法的运行时间。

在此输入图像描述

0.0000 0 6 关注作者 收藏

评论(1)

啊啊啊啊啊吖
2019-02-15

尝试寻找bar功能

示例代码段

g1 = [10,10,20];

g2 = [15,10,8];

algStr = sprintfc('Algorithm %d',1:3);

bar(categorical({'Group1','Group2'}),[g1;g2])

legend(algStr)

0.0000 0 0 回复

推荐课程