- extendend results output
git-svn-id: http://moon:8086/svn/matlab/trunk@105 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
+11
-2
@@ -25,8 +25,17 @@
|
|||||||
|
|
||||||
function garage_results()
|
function garage_results()
|
||||||
|
|
||||||
y = load("/home/jens/garage_y.dat", '-ascii');
|
data = load("/home/jens/garage_y.dat", '-ascii');
|
||||||
bits = load("/home/jens/garage_bits.dat", '-ascii');
|
bits = load("/home/jens/garage_bits.dat", '-ascii');
|
||||||
plot(y(:,1), y(:,2), bits(:,1), bits(:,2), 'xr'); grid;
|
t = data(:,1);
|
||||||
|
y = data(:,2);
|
||||||
|
vthr = data(:,3);
|
||||||
|
vcorr = data(:,4);
|
||||||
|
|
||||||
|
subplot(2, 1, 1)
|
||||||
|
plot(t, y, 'o-', bits(:,1), bits(:,2), 'xr', t, vthr, '-y'); grid;
|
||||||
|
|
||||||
|
subplot(2, 1, 2)
|
||||||
|
plot(t, vcorr, '-b'); grid;
|
||||||
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user