diff options
| author | Author Name <[email protected]> | 2023-07-07 12:20:59 +0930 |
|---|---|---|
| committer | David Rowe <[email protected]> | 2023-07-07 12:29:06 +0930 |
| commit | ac7c48b4dee99d4c772f133d70d8d1b38262fcd2 (patch) | |
| tree | a2d0ace57a9c0e2e5b611c4987f6fed1b38b81e7 /octave/pl_scatter.m | |
shallow zip-file copy from codec2 e9d726bf20
Diffstat (limited to 'octave/pl_scatter.m')
| -rw-r--r-- | octave/pl_scatter.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/octave/pl_scatter.m b/octave/pl_scatter.m new file mode 100644 index 0000000..bc283a3 --- /dev/null +++ b/octave/pl_scatter.m @@ -0,0 +1,13 @@ +% pl_scatter.m +% Render scatter plot from freedv_data_raw_rx --scatter + +function pl_scatter(filename) + s=load(filename); + figure(1); clf; + for b=1:length(fieldnames(s)) + field_name = fieldnames(s){b}; + x = s.(field_name); + plot(x,'+'); + end + print("scatter.png", "-dpng"); +endfunction |
