Replace subaxis with subplot
This commit is contained in:
parent
b29287e10b
commit
04fa167f3d
Binary file not shown.
@ -133,13 +133,13 @@ We define the parameters of the geophone and we plot its bode plot (figure [[fig
|
||||
freqs = logspace(-1, 2, 1000);
|
||||
|
||||
figure;
|
||||
ax1 = subaxis(2,1,1);
|
||||
ax1 = subplot(2,1,1);
|
||||
plot(freqs, abs(squeeze(freqresp(G, freqs, 'Hz'))));
|
||||
set(gca, 'XScale', 'log'); set(gca, 'YScale', 'log');
|
||||
set(gca, 'XTickLabel',[]);
|
||||
ylabel('Magnitude [V/(m/s)]');
|
||||
|
||||
ax2 = subaxis(2,1,2);
|
||||
ax2 = subplot(2,1,2);
|
||||
plot(freqs, 180/pi*angle(squeeze(freqresp(G, freqs, 'Hz'))));
|
||||
set(gca,'xscale','log');
|
||||
yticks(-180:90:180);
|
||||
@ -197,13 +197,13 @@ Its bode plot is shown on figure [[fig:L4C_bode_plot]].
|
||||
freqs = logspace(-2, 2, 1000);
|
||||
|
||||
figure;
|
||||
ax1 = subaxis(2,1,1);
|
||||
ax1 = subplot(2,1,1);
|
||||
plot(freqs, abs(squeeze(freqresp(G, freqs, 'Hz'))));
|
||||
set(gca, 'XScale', 'log'); set(gca, 'YScale', 'log');
|
||||
set(gca, 'XTickLabel',[]);
|
||||
ylabel('Magnitude [V/(m/s)]');
|
||||
|
||||
ax2 = subaxis(2,1,2);
|
||||
ax2 = subplot(2,1,2);
|
||||
plot(freqs, 180/pi*angle(squeeze(freqresp(G, freqs, 'Hz'))));
|
||||
set(gca,'xscale','log');
|
||||
yticks(-180:90:180);
|
||||
|
Loading…
Reference in New Issue
Block a user