
load  -force fig_synthetic_comparagrams_data.txt

xlabel('Q=log(q)');
ylabel('f(q)');
title("Camera Response");
grid

% these  commands plot estimated f
axis([-15 5 0 255])
fig_synthetic_plotfps(a_k2,c_k2)
gset size nosquare
gset terminal X11
gset terminal postscript eps 28
gset key -10,230
system("rm synthetic_response_estimates.ps");
gset output "synthetic_response_estimates.ps"
replot
system("ps2epsi synthetic_response_estimates.ps"); 
disp('**** Plot of estimated f saved in -->synthetic_response_estimates.ps<--- ****');
system("gv synthetic_response_estimates.epsi&");


