forked from RNL1/Melamine-Dataset
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot.m
More file actions
executable file
·60 lines (51 loc) · 1.27 KB
/
plot.m
File metadata and controls
executable file
·60 lines (51 loc) · 1.27 KB
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
load('Melamine_Dataset.mat')
data = Melamine_Dataset;
figure
subplot(4,2,1)
plot(data.wn1,data.R562.X1,'b')
title('R562')
xlabel('Wavenumber (cm^{-1})')
ylabel('Absorbance (a.u.)')
axis([5400 6400 0.5 2.5])
subplot(4,2,2)
plot(data.wn2,data.R562.X2,'b')
title('R562')
xlabel('Wavenumber (cm^{-1})')
ylabel('Absorbance (a.u.)')
axis([6500 7000 0.2 0.7])
subplot(4,2,3)
plot(data.wn1,data.R568.X1,'b')
title('R568')
xlabel('Wavenumber (cm^{-1})')
ylabel('Absorbance (a.u.)')
axis([5400 6400 0.5 2.5])
subplot(4,2,4)
plot(data.wn2,data.R568.X2,'b')
title('R568')
xlabel('Wavenumber (cm^{-1})')
ylabel('Absorbance (a.u.)')
axis([6500 7000 0.2 0.7])
subplot(4,2,5)
plot(data.wn1,data.R861.X1,'b')
title('R861')
xlabel('Wavenumber (cm^{-1})')
ylabel('Absorbance (a.u.)')
axis([5400 6400 0.5 2.5])
subplot(4,2,6)
plot(data.wn2,data.R861.X2,'b')
title('R861')
xlabel('Wavenumber (cm^{-1})')
ylabel('Absorbance (a.u.)')
axis([6500 7000 0.2 0.7])
subplot(4,2,7)
plot(data.wn1,data.R862.X1,'b')
title('R862')
xlabel('Wavenumber (cm^{-1})')
ylabel('Absorbance (a.u.)')
axis([5400 6400 0.5 2.5])
subplot(4,2,8)
plot(data.wn2,data.R862.X2,'b')
title('R862')
xlabel('Wavenumber (cm^{-1})')
ylabel('Absorbance (a.u.)')
axis([6500 7000 0.2 0.7])