Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Louis BECQUEY
/
biorseo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Network
Create a new issue
Builds
Commits
Authored by
Nathalie BERNARD
2021-09-07 00:47:08 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
33d1e9b842362300e5d9d2d2eafa6969252758fc
33d1e9b8
1 parent
1a728856
Affichage 2 par 2 pour le front de pareto
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
scripts/pareto_visualizer_json.py
scripts/pareto_visualizer_json.py
View file @
33d1e9b
...
...
@@ -500,19 +500,17 @@ def process_extension_ctc(ax, pos, ext, nsolutions=False, xlabel="Best solution
if
extension
==
"all"
:
parse
=
parse_biorseo
fig
,
ax
=
plt
.
subplots
(
1
,
4
,
figsize
=
(
10
,
3
),
sharey
=
True
)
fig
,
ax
=
plt
.
subplots
(
1
,
2
,
figsize
=
(
10
,
3
),
sharey
=
True
)
ax
=
ax
.
flatten
()
process_extension
(
ax
,
0
,
".json_pmE_MFE"
,
xlabel
=
"Normalized $f_{1E}$"
,
ylabel
=
"Normalized MFE"
)
print
(
"--------------------------------------------------------------------------------------------"
)
process_extension
(
ax
,
1
,
".json_pmE_MEA"
,
xlabel
=
"Normalized $f_{1E}$"
,
ylabel
=
"Normalized MEA
"
)
process_extension
_ctc
(
ax
,
1
,
".json_pmE_MFE"
,
xlabel
=
"Normalized $f_{1E}$"
,
ylabel
=
"Normalized MFE
"
)
print
(
"--------------------------------------------------------------------------------------------"
)
process_extension_ctc
(
ax
,
2
,
".json_pmE_MFE"
,
xlabel
=
"Normalized $f_{1E}$"
,
ylabel
=
"Normalized MFE"
)
print
(
"--------------------------------------------------------------------------------------------"
)
process_extension_ctc
(
ax
,
3
,
".json_pmE_MEA"
,
xlabel
=
"Normalized $f_{1E}$"
,
ylabel
=
"Normalized MEA"
)
for
a
in
ax
:
a
.
label_outer
()
plt
.
subplots_adjust
(
bottom
=
0.2
,
top
=
0.9
,
left
=
0.07
,
right
=
0.98
,
hspace
=
0.05
,
wspace
=
0.05
)
plt
.
savefig
(
"pareto_visualizer_json_MFE_
MEA_
functionE.png"
)
plt
.
savefig
(
"pareto_visualizer_json_MFE_functionE.png"
)
else
:
fig
,
ax
=
plt
.
subplots
(
2
,
1
,
figsize
=
(
6
,
5
))
plt
.
subplots_adjust
(
bottom
=
0.12
,
top
=
0.9
,
left
=
0.15
,
right
=
0.9
,
hspace
=
0.4
)
...
...
Please
register
or
login
to post a comment