|
48 | 48 |
|
49 | 49 | z = [z_0{i} 10*z_0{i} 1 2 3 4 5 6 7 8 9 10 15 20 25 30 50 100]; |
50 | 50 |
|
51 | | -figure(1) |
| 51 | +f1=figure; |
52 | 52 | set(gca,'Units',Plot_Units) |
53 | 53 | set(gca,'Position',[Plot_X Plot_Y Plot_Width Plot_Height]) |
54 | 54 |
|
|
68 | 68 | T = T + (theta_0-T(12)); |
69 | 69 |
|
70 | 70 | plot(u,z,'ko'); hold on |
71 | | -plot(M2.data(:,2),M2.data(:,1),'k-'); hold on |
| 71 | +plot(M2.data(:,2),M2.data(:,1),'k-'); hold off |
72 | 72 | set(gca,'FontName',Font_Name) |
73 | 73 | set(gca,'FontSize',Title_Font_Size) |
74 | 74 | axis([0 u_high{i} 0 100]) |
|
88 | 88 | git_file = [datafile, '_git.txt']; |
89 | 89 | addverstr(gca,git_file,'linear') |
90 | 90 |
|
91 | | -set(gcf,'Visible',Figure_Visibility); |
92 | | -set(gcf,'Units',Paper_Units); |
93 | | -set(gcf,'PaperUnits',Paper_Units); |
94 | | -set(gcf,'PaperSize',[Paper_Width Paper_Height]); |
95 | | -set(gcf,'Position',[0 0 Paper_Width Paper_Height]); |
96 | | -print(gcf,'-dpdf',[outfile '_vel']) |
| 91 | +set(f1,'Visible',Figure_Visibility); |
| 92 | +set(f1,'Units',Paper_Units); |
| 93 | +set(f1,'PaperUnits',Paper_Units); |
| 94 | +set(f1,'PaperSize',[Paper_Width Paper_Height]); |
| 95 | +set(f1,'Position',[0 0 Paper_Width Paper_Height]); |
| 96 | +print(f1,'-dpdf',[outfile '_vel']) |
97 | 97 |
|
98 | | -clf('reset') |
99 | | - |
100 | | -figure(2) |
| 98 | +f2=figure; |
101 | 99 | set(gca,'Units',Plot_Units) |
102 | 100 | set(gca,'Position',[Plot_X Plot_Y Plot_Width Plot_Height]) |
103 | 101 |
|
104 | 102 | plot(T-273.15,z,'ko'); hold on |
105 | | -plot(M2.data(:,3),M2.data(:,1),'k-'); hold on |
| 103 | +plot(M2.data(:,3),M2.data(:,1),'k-'); hold off |
106 | 104 | set(gca,'FontName',Font_Name) |
107 | 105 | set(gca,'FontSize',Title_Font_Size) |
108 | 106 | axis([T_low{i} T_high{i} 0 100]) |
|
114 | 112 |
|
115 | 113 | addverstr(gca,git_file,'linear') |
116 | 114 |
|
117 | | -set(gcf,'Visible',Figure_Visibility); |
118 | | -set(gcf,'Units',Paper_Units); |
119 | | -set(gcf,'PaperUnits',Paper_Units); |
120 | | -set(gcf,'PaperSize',[Paper_Width Paper_Height]); |
121 | | -set(gcf,'Position',[0 0 Paper_Width Paper_Height]); |
122 | | -print(gcf,'-dpdf',[outfile '_tmp']) |
123 | | - |
124 | | -clf('reset') |
| 115 | +set(f2,'Visible',Figure_Visibility); |
| 116 | +set(f2,'Units',Paper_Units); |
| 117 | +set(f2,'PaperUnits',Paper_Units); |
| 118 | +set(f2,'PaperSize',[Paper_Width Paper_Height]); |
| 119 | +set(f2,'Position',[0 0 Paper_Width Paper_Height]); |
| 120 | +print(f2,'-dpdf',[outfile '_tmp']) |
125 | 121 |
|
126 | 122 | end |
0 commit comments