-
Notifications
You must be signed in to change notification settings - Fork 0
/
StandardPlottingParameters3D.m
145 lines (137 loc) · 4.47 KB
/
StandardPlottingParameters3D.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Core Model, 2022
% Written by Maya Davis
% Concept by Maya Davis and Melissa A. Redford
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Standard PlottingParameters
function plottingParameters = StandardPlottingParameters3D()
green1 = [0 1 0];
green2 = [0 0.9 0];
green3 = [0 0.8 0];
forestgreen1 = [0 0.8 0.1];
forestgreen2 = [0 0.8 0.2];
forestgreen3 = [0 0.8 0.3];
turquoise1 = [0 0.8 0.4];
turquoise2 = [0 0.9 0.5];
turquoise3 = [0 1 0.5];
teal1 = [0 1 0.6];
teal2 = [0 1 0.7];
teal3 = [0 1 0.8];
cyan1 = [0 1 0.9];
cyan2 = [0 1 1];
cyan3 = [0 0.9 1];
skyblue1 = [0 0.8 1];
skyblue2 = [0 0.7 1];
skyblue3 = [0 0.6 1];
magicdust1 = [0 0.5 1];
magicdust2 = [0 0.4 1];
magicdust3 = [0 0.3 1];
blue1 = [0 0.2 1];
blue2 = [0 0.1 1];
blue3 = [0 0 1];
violet1 = [0.1 0.1 1];
violet2 = [0.2 0.2 1];
violet3 = [0.3 0.3 1];
purple1 = [0.4 0 1];
purple2 = [0.5 0 1];
purple3 = [0.6 0 1];
periwinkle1 = [0.4 0.4 1];
periwinkle2 = [0.5 0.5 1];
periwinkle3 = [0.5 0.6 1];
babyblue1 = [0.5 0.7 1];
babyblue2 = [0.5 0.8 1];
babyblue3 = [0.5 0.9 1];
ice1 = [0.5 1 1];
ice2 = [0.6 0.9 1];
ice3 = [0.7 0.8 1];
babypink1 = [0.8 0.7 1];
babypink2 = [0.9 0.6 1];
babypink3 = [1 0.5 1];
pink1 = [1 0.4 1];
pink2 = [1 0.3 1];
pink3 = [1 0.2 1];
magenta1 = [1 0.1 1];
magenta2 = [1 0 1];
magenta3 = [1 0 0.9];
fuschia1 = [1 0 0.8];
fuschia2 = [1 0 0.7];
fuschia3 = [1 0 0.6];
hibiscus1 = [1 0 0.5];
hibiscus2 = [1 0 0.4];
hibiscus3 = [1 0 0.3];
strawberry1 = [1 0 0.2];
strawberry2 = [1 0 0.1];
strawberry3 = [1 0 0];
red1 = [1 0.1 0];
red2 = [1 0.2 0];
red3 = [1 0.3 0];
orange1 = [1 0.4 0];
orange2 = [1 0.5 0];
orange3 = [1 0.6 0];
salmon1 = [1 0.7 0];
salmon2 = [1 0.7 0.1];
salmon3 = [1 0.7 0.2];
salmon4 = [1 0.7 0.3];
coral1 = [1 0.4 0.2];
coral2 = [1 0.4 0.4];
coral3 = [1 0.4 0.6];
yellow1 = [1 0.8 0];
yellow2 = [1 0.9 0];
yellow3 = [1 1 0];
% clusterColorArray = [green1; green2; green3; forestgreen1; forestgreen2;
% forestgreen3; turquoise1; turquoise2; turquoise3; teal1; teal2;
% teal3; cyan1; cyan2; cyan3; skyblue1; skyblue2; skyblue3; magicdust1;
% magicdust2; magicdust3; blue1; blue2; blue3; violet1; violet2; violet3;
% periwinkle1; periwinkle2; periwinkle3; babyblue1; babyblue2; babyblue3;
% ice1; ice2; ice3; babypink1; babypink2; babypink3; pink1; pink2; pink3;
% magenta1; magenta2; magenta3; fuschia1; fuschia2; fuschia3; hibiscus1;
% hibiscus2; hibiscus3; strawberry1; strawberry2; strawberry3; red1;
% red2; red3; orange1; orange2; orange3; salmon1; salmon2; salmon3;
% salmon4];
%
clusterColorArray = [
% Consonants
cyan1; cyan2; cyan3; skyblue1; skyblue2; skyblue3;
magicdust1; magicdust2; magicdust3;
periwinkle1; periwinkle2; periwinkle3;
blue1; blue2; blue3; violet1;
% Vowels
violet2; violet3; purple1; purple2; purple3;
pink1; pink2; pink3; magenta1; magenta2; magenta3;
fuschia1; fuschia2; fuschia3; hibiscus1; hibiscus2
];
% clusterColorArray = [turquoise2; cyan3; skyblue3; blue1; ...
% violet1; purple2; magenta1; hibiscus1; ...
% red1; orange1; orange3; yellow1; ...
% yellow3; green1; forestgreen1; turquoise1];
motorSilhouetteColorArray = [
0.1 0.1 1;
0 0 1;
0.1 0 1;
0.2 0 1;
0.3 0 1;
0.4 0 1;
0.5 0 1;
0.6 0 1;
0.7 0 1;
0.8 0 1;
0.9 0 1;
1 0 0;
1 0.1 0;
1 0.2 0
];
perceptualTrajectoryColor1 = green1;
perceptualTrajectoryColor2 = blue2;
resultTrajectoryColor1 = hibiscus1;
resultTrajectoryColor2 = salmon1;
visiblePointsPerStep = 10;
junctureSizes = 100;
resultPointSizes = 150;
numberOfPointsBetweenPoints = 10;
plottingParameters = PlottingParameters3D(clusterColorArray, ...
motorSilhouetteColorArray, ...
perceptualTrajectoryColor1, perceptualTrajectoryColor2, ...
resultTrajectoryColor1, resultTrajectoryColor2, ...
visiblePointsPerStep, junctureSizes, resultPointSizes, ...
numberOfPointsBetweenPoints);
end