Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
SysBiOThe
/
CRA-Matlab
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 5a488f4e
authored
2019-03-31 21:29:59 +0200
by
Chiara Antonini
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Upload new file
1 parent
f34e25ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
CRA_Updated_Version/CRA_Toolbox_GUI/plotpdf_param.m
CRA_Updated_Version/CRA_Toolbox_GUI/plotpdf_param.m
0 → 100644
View file @
5a488f4
%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
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment