function createfigure(y1, y2)
%CREATEFIGURE(Y1,Y2)
% Y1: bar y
% Y2: bar y
% Auto-generated by MATLAB on 11-May-2019 15:44:11
%% Create figure
figure1 = figure('PaperPosition',[0.6345 6.345 20.3 15.23],'PaperSize',[20.98 29.68]);
%% Create axes
axes1 = axes(...
'FontName','Times New Roman',...
'FontSize',12,...
'FontWeight','light',...
'OuterPosition',[0 0 0.4823 1],...
'XTick',[1 2 3],...
'XTickLabel',{'基金','师资力量','评价体系'},...
'YGrid','on',...
'Parent',figure1);
axis(axes1,[0 4 0 0.75]);
title(axes1,'指标权重可视化');
xlabel(axes1,'指标名称');
ylabel(axes1,'权重');
hold(axes1,'all');
%% Create bar
bar1 = bar(y1,...
'Parent',axes1,...
'BarWidth',0.4,...
'FaceColor',[0 0.498 0]);
%% Create text
text1 = text(...
'Color',[1 0 0],...
'FontName','Times New Roman',...
'Position',[0.7623 0.6875 17.32],...
'String','0.667',...
'Parent',axes1);
%% Create text
text2 = text(...
'Color',[1 0 0],...
'FontName','Times New Roman',...
'Position',[1.783 0.6964 17.32],...
'String','0.675',...
'Parent',axes1);
%% Create text
text3 = text(...
'Color',[1 0 0],...
'FontName','Times New Roman',...
'Position',[2.805 0.7146 17.32],...
'String','0.692',...
'Parent',axes1);
%% Create axes
axes2 = axes(...
'FontName','Times New Roman',...
'FontSize',12,...
'FontWeight','light',...
'OuterPosition',[0.4823 0 0.5177 1],...
'XTick',[1 2 3],...
'XTickLabel',{'评价体系','师资力量','基金'},...
'YGrid','on',...
'Parent',figure1);
axis(axes2,[0 4 0 0.75]);
title(axes2,'指标权重可视化(降序排列)');
xlabel(axes2,'指标名称');
ylabel(axes2,'权重');
hold(axes2,'all');
%% Create bar
bar2 = bar(y2,...
'Parent',axes2,...
'BarWidth',0.4,...
'FaceColor',[0 0.498 0]);
%% Create text
text4 = text(...
'Color',[1 0 0],...
'FontName','Times New Roman',...
'Position',[0.7885 0.7146 17.32],...
'String','0.692',...
'Parent',axes2);
%% Create text
text5 = text(...
'Color',[1 0 0],...
'FontName','Times New Roman',...
'Position',[1.763 0.6944 17.32],...
'String','0.675',...
'Parent',axes2);
%% Create text
text6 = text(...
'Color',[1 0 0],...
'FontName','Times New Roman',...
'Position',[2.801 0.6843 17.32],...
'String','0.667',...
'Parent',axes2);
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/TXT.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/TXT.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/TXT.png)
共 3 条
- 1
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/42ca309ec3d3417c9ca6b260de357af7_qq_36980284.jpg!1)
小孟的CDN
- 粉丝: 683
- 资源: 70
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)