Skip to content

Commit 8be3ad3

Browse files
committed
EPS output for RADE ASK outputs for paper plot
1 parent d5b99dc commit 8be3ad3

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

radae_plots.m

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,26 @@ function do_plots(z_fn='l.f32',rx_fn='', png_fn='', epslatex='')
7272
end
7373
endfunction
7474

75-
function do_plots_bbfm(z1_fn, z2_fn="", png_fn='')
75+
function do_plots_bbfm(z1_fn, z2_fn='', png_fn='', epslatex='')
76+
if length(epslatex)
77+
[textfontsize linewidth] = set_fonts(20);
78+
end
7679
z1=load_f32(z1_fn,1);
7780
figure(1); clf;
78-
stem(z1(1:40),'g');
81+
stem(z1(1:80),'g');
82+
axis([0 80 -1.2 1.2]);
7983
if length(z2_fn)
8084
z2=load_f32(z2_fn,1);
8185
hold on;
8286
stem(z2(1:40),'r');
8387
hold off;
8488
end
85-
title('Rx Symbols');
8689
if length(png_fn)
8790
print("-dpng",sprintf("%s.png",png_fn));
8891
end
92+
if length(epslatex)
93+
print_eps_restore(sprintf("%s.eps",epslatex),"-S300,200",textfontsize,linewidth);
94+
end
8995
endfunction
9096

9197

0 commit comments

Comments
 (0)