%
htmlPage('Stepped PZ plots');
dataType('poles');
poleRuns = execute();
dataType('zeros');
zeroRuns = execute();
%
% You can combine multiple execution results in one plot
% You can use 'auto' for the x-scale and/or the y-scale
%
plotPZ('Poles and zeros of the transimpedance', [poleRuns, zeroRuns], 'auto', 'auto');
%
% We need to zoom in to see all the poles and zeros
%
zerosPlot = plotPZ('Zeros of the transimpedance', zeroRuns, [0, 15e9], 'auto');
fig2html(zerosPlot, 'zerosPlot.svg', 600);
polesPlot = plotPZ('Poles of the transimpedance', poleRuns, [-1e7, 0], 'auto');
fig2html(polesPlot, 'polesPlot.svg', 600);
dominantPolesPlot = plotPZ('Dominant poles of the transimpedance', poleRuns, [-60e3, 0], 'auto');
fig2html(dominantPolesPlot, 'dominantPolesPlot.svg', 600);