1 Star 13 Fork 0

BUAA_A503/Bayesian-MCMC-Prognostics

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
helperSortedBarPlot.m 381 Bytes
一键复制 编辑 原始数据 按行查看 历史
BUAA_A503 提交于 2021-11-02 06:23 . 主体文件
function sortedIdx = helperSortedBarPlot(tbl, ylbl)
% HELPERSORTEDBARPLOT helper function to create sorted bar plot
% Copyright 2018 The MathWorks, Inc.
[~, sortedIdx] = sort(tbl{1,:}, 'descend');
tblSorted = tbl(:, sortedIdx);
figure
bar(tblSorted{1,:})
xticks(1:size(tblSorted,2))
xticklabels(tbl.Properties.VariableNames(sortedIdx))
xtickangle(45)
ylabel(ylbl)
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Matlab
1
https://gitee.com/phm720/Bayesian-MCMC-Prognostics.git
git@gitee.com:phm720/Bayesian-MCMC-Prognostics.git
phm720
Bayesian-MCMC-Prognostics
Bayesian-MCMC-Prognostics
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385