Commit 5a488f4e by Chiara Antonini

Upload new file

1 parent f34e25ee
%Function that plots and saves the figures of the conditional pdfs of parameters that are
%used for computing MIRI
function plotpdf_param(handles,hObject,handles1)
try
load(fullfile(handles1.folder,handles1.chosen_variable,'pdf_param.mat'));
for i=1:length(handles1.nominal_p)
figure
for k=1:handles1.Nr
plot(xbin_param{1,k}(i,:),ks_param{1,k}(i,:),'b',xbin_param{2,k}(i,:),ks_param{2,k}(i,:),'r');
hold on
end
xlabel(handles1.param_name{i,1},'Interpreter','none');
ylabel('pdf');
legend('Conditional upper density','Conditional lower density');
savefig(fullfile(handles1.folder,handles1.chosen_variable,handles1.param_name{i,1}));
end
catch ME
errordlg(ME.message)
end
end
\ No newline at end of file \ 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!