diff options
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 |
