-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscattern.m
129 lines (122 loc) · 5.7 KB
/
scattern.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
clear;
clc;
p2pz10n = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz10p2pn.dat');
p3pz10n = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz10p3pn.dat');
p4pz10n = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz10p4pn.dat');
p5pz10n = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz10p5pn.dat');
wpz10n = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz10wpn.dat');
subfig1 = subplot(2,2,1);
binscatter(p2pz10n,wpz10n,[100,100]);
colormap(subfig1,'jet');
set(gca,'FontSize',24);
title('scatter plot for horizontally aligned fiber','fontsize',18,'position',[100,6.5])
xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
xlim([-100 300])
subfig2 = subplot(2,2,2);
binscatter(p3pz10n,wpz10n,[100,100]);
colormap(subfig2,'jet');
set(gca,'FontSize',24);
title('scatter plot for randomly aligned fiber','fontsize',18,'position',[100,6.5])
xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
xlim([-100 300])
subfig3 = subplot(2,2,3);
binscatter(p4pz10n,wpz10n,[100,100]);
colormap(subfig3,'jet');
set(gca,'FontSize',24);
title('scatter plot for fiber settling dependent on local averaged dissipate rate','fontsize',18,'position',[100,6.5])
xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
xlim([-100 300])
subfig4 = subplot(2,2,4);
binscatter(p5pz10n,wpz10n,[100,100]);
colormap(subfig4,'jet');
set(gca,'FontSize',24);
title('scatter plot for fiber settling dependent on horizontally averaged dissipate rate','fontsize',18,'position',[100,6.5])
xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
xlim([-100 300])
%
% p2pz05cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz05p2pcc.dat');
% p3pz05cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz05p3pcc.dat');
% p4pz05cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz05p4pcc.dat');
% p5pz05cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz05p5pcc.dat');
% wpz05cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz05wpcc.dat');
%
% subfig1 = subplot(2,2,1);
% binscatter(p2pz05cc,wpz05cc,[100,100]);
% colormap(subfig1,'jet');
% set(gca,'FontSize',24);
% title('scatter plot for horizontally aligned fiber','fontsize',18,'position',[100,4.5])
% xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
% ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
% xlim([-100 300])
%
% subfig2 = subplot(2,2,2);
% binscatter(p3pz05cc,wpz05cc,[100,100]);
% colormap(subfig2,'jet');
% set(gca,'FontSize',24);
% title('scatter plot for randomly aligned fiber','fontsize',18,'position',[100,4.5])
% xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
% ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
% xlim([-100 300])
%
% subfig3 = subplot(2,2,3);
% binscatter(p4pz05cc,wpz05cc,[100,100]);
% colormap(subfig3,'jet');
% set(gca,'FontSize',24);
% title('scatter plot for fiber settling dependent on local averaged dissipate rate','fontsize',18,'position',[100,4.5])
% xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
% ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
% xlim([-100 300])
%
% subfig4 = subplot(2,2,4);
% binscatter(p5pz05cc,wpz05cc,[100,100]);
% colormap(subfig4,'jet');
% set(gca,'FontSize',24);
% title('scatter plot for fiber settling dependent on horizontally averaged dissipate rate','fontsize',18,'position',[100,4.5])
% xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
% ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
% xlim([-100 300])
% p2pz30cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz30p2pcc.dat');
% p3pz30cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz30p3pcc.dat');
% p4pz30cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz30p4pcc.dat');
% p5pz30cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz30p5pcc.dat');
% wpz30cc = load('/Users/shuolinxiao/Desktop/SImutaneous_Tracking/vel_scin0180000cz30wpcc.dat');
%
% subfig1 = subplot(2,2,1);
% binscatter(p2pz30cc,wpz30cc,[100,100]);
% colormap(subfig1,'jet');
% set(gca,'FontSize',24);
% title('scatter plot for horizontally aligned fiber','fontsize',18,'position',[100,4.5])
% xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
% ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
% xlim([-100 300])
%
% subfig2 = subplot(2,2,2);
% binscatter(p3pz30cc,wpz30cc,[100,100]);
% colormap(subfig2,'jet');
% set(gca,'FontSize',24);
% title('scatter plot for randomly aligned fiber','fontsize',18,'position',[100,4.5])
% xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
% ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
% xlim([-100 300])
%
% subfig3 = subplot(2,2,3);
% binscatter(p4pz30cc,wpz30cc,[100,100]);
% colormap(subfig3,'jet');
% set(gca,'FontSize',24);
% title('scatter plot for fiber settling dependent on local averaged dissipate rate','fontsize',18,'position',[100,4.5])
% xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
% ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
% xlim([-100 300])
%
% subfig4 = subplot(2,2,4);
% binscatter(p5pz30cc,wpz30cc,[100,100]);
% colormap(subfig4,'jet');
% set(gca,'FontSize',24);
% title('scatter plot for fiber settling dependent on horizontally averaged dissipate rate','fontsize',18,'position',[100,4.5])
% xlabel('$p^\prime$','fontsize',36,'Interpreter','latex')
% ylabel('$w^\prime$','fontsize',36,'Interpreter','latex')
% xlim([-100 300])