Commit 0185a9e1 by Chiara Antonini

Upload new file

1 parent 44c7b60b
%Function that plots and saves the figure of the estimated pdf of the evaluation function
%for the chosen variable.
function plotpdf_evalfunc(folder,variable_name)
try
load(fullfile(folder,variable_name,'pdf_eval_func.mat'));
figure
for i=1:size(xbinT,1)
plot(xbinT(i,:),ks_y_T(i,:));
hold on
end
xlabel(variable_name,'Interpreter','none');
ylabel('pdf of evaluation function');
saveas(gcf, fullfile(folder,variable_name,variable_name),'jpeg');
catch ME
errordlg(ME.message)
end
end
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!