-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfigure2plots.m
43 lines (37 loc) · 1.16 KB
/
figure2plots.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
%% Plotting for Figure 2
% The following plots are used for Figure 2. All other figures were plotted
% using other scripts found in the GitHub folder: https://github.com/caitlynmn/BIOE464_Final_Project
mtcount = [359 428 478 499; 238 290 357 416];
freetb = [2.4290 2.5515 2.9842 4.2817; 9.1001 10.3328 11.0617 11.9721];
avglen = [18.1432 19.4425 20.9508 22.8196; 16.9768 18.7481 19.6645 20.5197];
tbconc = [20 25 30 35];
figure(1)
plot(tbconc,mtcount(1,:),'.','MarkerSize',20)
hold on
plot(tbconc,mtcount(2,:),'s','MarkerSize',10,'MarkerFaceColor','r')
hold off
xlabel('Total Tb (µM)')
ylabel('Number of MTs')
legend('Set A','Set B')
xlim([0 40])
ylim([0 500])
figure(2)
plot(tbconc,freetb(1,:),'.','MarkerSize',20)
hold on
plot(tbconc,freetb(2,:),'s','MarkerSize',10,'MarkerFaceColor','r')
hold off
xlabel('Total Tb (µM)')
ylabel('Free Tb (µM)')
legend('Set A','Set B')
xlim([0 40])
ylim([0 14])
figure(3)
plot(tbconc,avglen(1,:),'.','MarkerSize',20)
hold on
plot(tbconc,avglen(2,:),'s','MarkerSize',10,'MarkerFaceColor','r')
hold off
xlabel('Total Tb (µM)')
xlim([0 40])
ylabel('Avg Length (µm)')
legend('Set A','Set B')
ylim([0 25])