-
Notifications
You must be signed in to change notification settings - Fork 24
/
plotdata.m
68 lines (43 loc) · 1.93 KB
/
plotdata.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
% plot the probability that each action is taken
for player = 1:N_Flow
figure
h = histogram(sort(selected_action(player,:)),'Normalization','probability'); % qqplot normplot ksdensity
ylabel('Probability','FontSize',12.6,'FontName','Times New Roman')
xlabel('Actions','FontSize',12.6,'FontName','Times New Roman')
end
% for player = 1:N_Flow
% figure
% for action = 1:N_Actions
% cdfplot(BG_probability(player,action,:)); hold on;
% %ecdf(BG_probability(player,action,:)); hold on;
% end
% ylabel('CDF','FontSize',12.6,'FontName','Times New Roman')
% xlabel('Probability that each player plays for each action','FontSize',12.6,'FontName','Times New Roman')
% figure
% for action = 1:N_Actions
% cdfplot(Regret(player,action,:)); hold on;
% %ecdf(BG_probability(player,action,:)); hold on;
% end
% ylabel('CDF','FontSize',12.6,'FontName','Times New Roman')
% xlabel('Probability of Regret value','FontSize',12.6,'FontName','Times New Roman')
% end
% [f,xi] = ksdensity(selected_action(1,:));
% figure
% plot(xi,f);
% ylabel('CDF','FontSize',12.6,'FontName','Times New Roman')
% xlabel('Probability of action 1 value','FontSize',12.6,'FontName','Times New Roman')
% [f,xi] = ksdensity(selected_action(1,:));
% figure
% plot(xi,f);
% ylabel('CDF','FontSize',12.6,'FontName','Times New Roman')
% xlabel('Probability of action 2 value','FontSize',12.6,'FontName','Times New Roman')
% figure
% hist(X,sort(action2));
% serie = rand;
% file = strcat('2017Feb_','rand_',num2str(serie),'_','On_',num2str(date),'.mat');
% save(file);
%
% % figure
% % x = normrnd(5,1,100,1);
% % y = wblrnd(2,0.5,100,1);
% % qqplot(x,y);