-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_snowsymbol_keys.m
executable file
·75 lines (72 loc) · 1.22 KB
/
get_snowsymbol_keys.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
function [cl,sc]=get_snowsymbol_keys(grainstr)
% gets the font keys for SnowSymbolsInt for given
% string designating grain type
cl=grainstr(1);
switch grainstr
case '1a'
sc='a';
case '1b'
sc='b';
case '1c'
sc='c';
case '1d'
sc='d';
case '1e'
sc='e';
case '1f'
sc='f';
case '1g'
sc='g';
case '1h'
sc='h';
case '2a'
sc='i';
case '2b'
sc='j'
case '3a'
sc='k';
case '3b'
sc='l';
case '3c'
sc='m';
case '4a'
sc='n';
case '4b'
sc='o';
case '4c'
sc='p'
case '5a'
sc='q';
case '5b'
sc='r';
case '5c'
sc='s';
case '5d'
sc='t';
case '6a'
sc='u';
case '6b'
sc='v';
case '6c'
sc='w';
case '7a'
sc='x';
case '7b'
sc='y';
case '8a'
sc='z';
case '8b'
sc='A';
case '8c';
sc='B';
case '9a'
sc='C';
case '9b'
sc='D';
case '9c'
sc='E';
case '9d'
sc='F';
case '9e'
sc='G';
end