Remove subaxis, use subplot instead
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 289 KiB After Width: | Height: | Size: 231 KiB |
Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 218 KiB |
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 232 KiB |
Before Width: | Height: | Size: 267 KiB After Width: | Height: | Size: 242 KiB |
Before Width: | Height: | Size: 298 KiB After Width: | Height: | Size: 263 KiB |
@ -276,7 +276,7 @@ We can also compare all the DOFs of one solid body (figure [[fig:frf_one_body_al
|
||||
|
||||
figure;
|
||||
|
||||
ax1 = subaxis(2, 1, 1);
|
||||
ax1 = subplot(2, 1, 1);
|
||||
hold on;
|
||||
for solid_i = solids_i
|
||||
plot(freqs, abs(squeeze(FRFs_O((solid_i-1)*6+dir_i, exc_dir, :))), 'DisplayName', solid_names{solid_i});
|
||||
@ -288,7 +288,7 @@ We can also compare all the DOFs of one solid body (figure [[fig:frf_one_body_al
|
||||
legend('Location', 'northwest');
|
||||
title(sprintf('FRF between %s and %s', exc_names{exc_dir}, DOFs{dir_i}));
|
||||
|
||||
ax2 = subaxis(2, 1, 2);
|
||||
ax2 = subplot(2, 1, 2);
|
||||
hold on;
|
||||
for solid_i = solids_i
|
||||
plot(freqs, mod(180+180/pi*phase(squeeze(FRFs_O((solid_i-1)*6+dir_i, exc_dir, :))), 360)-180);
|
||||
@ -375,7 +375,7 @@ This normalized relative motion is shown on figure [[fig:relative_motion_compari
|
||||
figure;
|
||||
|
||||
for i = 2:6
|
||||
subaxis(3, 2, i);
|
||||
subplot(3, 2, i);
|
||||
hold on;
|
||||
for dir_i = dirs_i
|
||||
H = (squeeze(FRFs_O((i-1)*6+dir_i, exc_dir, :))-squeeze(FRFs_O((i-2)*6+dir_i, exc_dir, :)))./(abs(squeeze(FRFs_O((i-1)*6+dir_i, exc_dir, :)))+abs(squeeze(FRFs_O((i-2)*6+dir_i, exc_dir, :))));
|
||||
@ -473,7 +473,7 @@ The FRF are matching well until 100Hz.
|
||||
for i = 1:length(accs_i)
|
||||
acc_i = accs_i(i);
|
||||
|
||||
subaxis(2, 2, i);
|
||||
subplot(2, 2, i);
|
||||
|
||||
hold on;
|
||||
for dir_i = 1:3
|
||||
@ -525,7 +525,7 @@ The FRF are matching well until 100Hz.
|
||||
for i = 1:length(accs_i)
|
||||
acc_i = accs_i(i);
|
||||
|
||||
subaxis(2, 2, i);
|
||||
subplot(2, 2, i);
|
||||
|
||||
hold on;
|
||||
for dir_i = 1:3
|
||||
|
@ -75,7 +75,7 @@ exc_dir = 1;
|
||||
|
||||
figure;
|
||||
|
||||
ax1 = subaxis(2, 1, 1);
|
||||
ax1 = subplot(2, 1, 1);
|
||||
hold on;
|
||||
for solid_i = solids_i
|
||||
plot(freqs, abs(squeeze(FRFs_O((solid_i-1)*6+dir_i, exc_dir, :))), 'DisplayName', solid_names{solid_i});
|
||||
@ -87,7 +87,7 @@ ylabel('Amplitude');
|
||||
legend('Location', 'northwest');
|
||||
title(sprintf('FRF between %s and %s', exc_names{exc_dir}, DOFs{dir_i}));
|
||||
|
||||
ax2 = subaxis(2, 1, 2);
|
||||
ax2 = subplot(2, 1, 2);
|
||||
hold on;
|
||||
for solid_i = solids_i
|
||||
plot(freqs, mod(180+180/pi*phase(squeeze(FRFs_O((solid_i-1)*6+dir_i, exc_dir, :))), 360)-180);
|
||||
@ -160,7 +160,7 @@ exc_dir = 1;
|
||||
figure;
|
||||
|
||||
for i = 2:6
|
||||
subaxis(3, 2, i);
|
||||
subplot(3, 2, i);
|
||||
hold on;
|
||||
for dir_i = dirs_i
|
||||
H = (squeeze(FRFs_O((i-1)*6+dir_i, exc_dir, :))-squeeze(FRFs_O((i-2)*6+dir_i, exc_dir, :)))./(abs(squeeze(FRFs_O((i-1)*6+dir_i, exc_dir, :)))+abs(squeeze(FRFs_O((i-2)*6+dir_i, exc_dir, :))));
|
||||
@ -244,7 +244,7 @@ figure;
|
||||
for i = 1:length(accs_i)
|
||||
acc_i = accs_i(i);
|
||||
|
||||
subaxis(2, 2, i);
|
||||
subplot(2, 2, i);
|
||||
|
||||
hold on;
|
||||
for dir_i = 1:3
|
||||
@ -292,7 +292,7 @@ figure;
|
||||
for i = 1:length(accs_i)
|
||||
acc_i = accs_i(i);
|
||||
|
||||
subaxis(2, 2, i);
|
||||
subplot(2, 2, i);
|
||||
|
||||
hold on;
|
||||
for dir_i = 1:3
|
||||
|
@ -417,7 +417,7 @@ acc_i = [1 , 4 ;
|
||||
|
||||
figure;
|
||||
for i = 1:size(acc_i, 1)
|
||||
subaxis(3, 3, i);
|
||||
subplot(3, 3, i);
|
||||
hold on;
|
||||
plot(freqs, abs(squeeze(FRFs(meas_dir+3*(acc_i(i, 1)-1), exc_dir, :))))
|
||||
plot(freqs, abs(squeeze(FRFs(meas_dir+3*(acc_i(i, 2)-1), exc_dir, :))))
|
||||
@ -459,7 +459,7 @@ acc_i = [1, 2;
|
||||
|
||||
figure;
|
||||
for i = 1:size(acc_i, 1)
|
||||
subaxis(3, 3, i);
|
||||
subplot(3, 3, i);
|
||||
hold on;
|
||||
plot(freqs, abs(squeeze(FRFs(meas_dir+3*(acc_i(i, 1)-1), exc_dir, :))))
|
||||
plot(freqs, abs(squeeze(FRFs(meas_dir+3*(acc_i(i, 2)-1), exc_dir, :))))
|
||||
|
@ -812,7 +812,7 @@ Comparison of such measurements in the X direction is shown on figure [[fig:comp
|
||||
|
||||
figure;
|
||||
for i = 1:size(acc_i, 1)
|
||||
subaxis(3, 3, i);
|
||||
subplot(3, 3, i);
|
||||
hold on;
|
||||
plot(freqs, abs(squeeze(FRFs(meas_dir+3*(acc_i(i, 1)-1), exc_dir, :))))
|
||||
plot(freqs, abs(squeeze(FRFs(meas_dir+3*(acc_i(i, 2)-1), exc_dir, :))))
|
||||
@ -858,7 +858,7 @@ Comparison of such measurements in the X direction is shown on figure [[fig:comp
|
||||
|
||||
figure;
|
||||
for i = 1:size(acc_i, 1)
|
||||
subaxis(3, 3, i);
|
||||
subplot(3, 3, i);
|
||||
hold on;
|
||||
plot(freqs, abs(squeeze(FRFs(meas_dir+3*(acc_i(i, 1)-1), exc_dir, :))))
|
||||
plot(freqs, abs(squeeze(FRFs(meas_dir+3*(acc_i(i, 2)-1), exc_dir, :))))
|
||||
|