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 f34e25ee
authored
2019-03-31 21:29:46 +0200
by
Chiara Antonini
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Upload new file
1 parent
3ed94395
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
CRA_Updated_Version/CRA_Toolbox_GUI/plotpdf_evalfunc.m
CRA_Updated_Version/CRA_Toolbox_GUI/plotpdf_evalfunc.m
0 → 100644
View file @
f34e25e
%Function that plots and saves the figure of the estimated pdf of the evaluation function
%for the chosen variable.
function
plotpdf_evalfunc
(
handles
,
hObject
,
handles1
)
try
load
(
fullfile
(
handles1
.
folder
,
handles1
.
chosen_variable
,
'pdf_eval_func.mat'
));
for
i
=
1
:
size
(
xbinT
,
1
)
plot
(
handles
.
axes2
,
xbinT
(
i
,:),
ks_y_T
(
i
,:));
hold
on
end
xlabel
(
handles1
.
chosen_variable
,
'Interpreter'
,
'none'
);
ylabel
(
'pdf of evaluation function'
);
fh
=
figure
(
'Visible'
,
'off'
);
h_new
=
copyobj
(
handles
.
axes2
,
fh
);
%set(h_new,'Position',get(0,'DefaultAxesPosition'));
set
(
h_new
,
'Units'
,
'Normalized'
);
set
(
h_new
,
'OuterPosition'
,[
.
1
,
.
1
,
.
85
,
.
85
]);
set
(
gcf
,
'Visible'
,
'off'
,
'CreateFcn'
,
'set(gcf,
''
Visible
''
,
''
on
''
)'
)
saveas
(
fh
,
fullfile
(
handles1
.
folder
,
handles1
.
chosen_variable
,
handles1
.
chosen_variable
),
'jpeg'
);
close
(
fh
);
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