|
function | plotJitterEstimate (filename) [timestamps |
|
% | figure (2) |
|
| subfigure (3, 2, 1) |
|
| plot (x, slopes(x, 1).*(framestats(x, 1) - framestats(x, 2))+3 *sqrt(randJitters(x, 2)), 'b') |
|
| title ('Estimate ms') |
|
| plot (x, filtjitter, 'r') |
|
| plot (x, slopes(x, 1).*(framestats(x, 1) - framestats(x, 2)), 'g') |
|
| subfigure (3, 2, 2) |
|
% | subplot (211) |
|
| plot (x, slopes(x, 1)) |
|
| title ('Line slope') |
|
% | subplot (212) |
|
% | plot (x, slopes(x, 2)) |
|
| title ('Line offset') |
|
| subfigure (3, 2, 3) |
|
| plot (x, framestats) |
|
| plot (x, framedata(x, 1)) |
|
| title ('frame size and average frame size') |
|
| subfigure (3, 2, 4) |
|
| plot (x, framedata(x, 2)) |
|
| title ('Delay') |
|
| subfigure (3, 2, 5) |
|
| plot (x, randJitters(x, 1), 'r') |
|
| plot (x, randJitters(x, 2)) |
|
| title ('Random jitter') |
|
| subfigure (3, 2, 6) |
|
| plot (dL, delays, '.') |
|
| plot (s, slopes(end, 1) *s+slopes(end, 2), 'g') |
|
| plot (s, slopes(end, 1) *s+slopes(end, 2)+3 *sqrt(randJitters(end, 2)), 'r') |
|
| plot (s, slopes(end, 1) *s+slopes(end, 2) - 3 *sqrt(randJitters(end, 2)), 'r') |
|
| title ('theta(1) *x+theta(2),(dT-dTS)/dL') |
|
if | sum (size(rttStatsVec)) > 0 figure |
|
| plot (rttSamples, 'ko-') |
|
| plot (rttAvgs, 'g') |
|
| plot (rttAvgs+rttNstdDevsDrift *rttStdDevs, 'b--') |
|
| plot (rttAvgs+rttNstdDevsJump *rttStdDevs, 'b') |
|
| plot (rttAvgs - rttNstdDevsJump *rttStdDevs, 'b') |
|
| plot (rttMax, 'r') |
|
% | plot (driftRestarts *max(maxRtts), '.') |
|
% | plot (jumpRestarts *max(maxRtts), '.') |
|