Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LIGNEUL CLEMENT
GUIDE
Commits
e614d084
Commit
e614d084
authored
Feb 14, 2022
by
LIGNEUL CLEMENT
Browse files
update documentation + update plot color
parent
14392961
Changes
9
Hide whitespace changes
Inline
Side-by-side
documentation/doc_en.adoc
View file @
e614d084
...
...
@@ -367,13 +367,15 @@ We recommend to save your plots from the interactive version with camera icon. T
==== Edit the results graph
image::images/update_menu.png[ update plot menu image, 300, align=center]
image:images/update_menu.png[ update plot menu image, 300, align=center]
image:images/update_menu_3d.png[ update plot menu image, 300, align=center]
Once you have generated the result plot you can edit it. It is possible to change :
- The plot title
- The axis name
if the plot is a 3D plot
- The axis name
s
- The number of violin plots if the plot is a 2D plot
- The plot color if it is a 2D graph
== Multi-objective problems
...
...
documentation/doc_en.html
View file @
e614d084
...
...
@@ -1166,10 +1166,9 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
</div>
<div
class=
"sect3"
>
<h4
id=
"_edit_the_results_graph"
>
Edit the results graph
</h4>
<div
class=
"imageblock text-center"
>
<div
class=
"content"
>
<img
src=
"images/update_menu.png"
alt=
"update plot menu image"
width=
"300"
>
</div>
<div
class=
"paragraph"
>
<p><span
class=
"image"
><img
src=
"images/update_menu.png"
alt=
"update plot menu image"
width=
"300"
></span>
<span
class=
"image"
><img
src=
"images/update_menu_3d.png"
alt=
"update plot menu image"
width=
"300"
></span></p>
</div>
<div
class=
"paragraph"
>
<p>
Once you have generated the result plot you can edit it. It is possible to change :
</p>
...
...
@@ -1180,11 +1179,14 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
<p>
The plot title
</p>
</li>
<li>
<p>
The axis name
if the plot is a 3D plot
</p>
<p>
The axis name
s
</p>
</li>
<li>
<p>
The number of violin plots if the plot is a 2D plot
</p>
</li>
<li>
<p>
The plot color if it is a 2D graph
</p>
</li>
</ul>
</div>
</div>
...
...
@@ -1256,7 +1258,7 @@ Attribution - Non Commercial 4.0 International" license</p>
<div
id=
"footer"
>
<div
id=
"footer-text"
>
Version 2.0 13/02/2022
<br>
Last updated 2022-02-14 09:
0
1:
19
+0100
Last updated 2022-02-14 09:
4
1:
56
+0100
</div>
</div>
</body>
...
...
documentation/doc_fr.adoc
View file @
e614d084
...
...
@@ -356,13 +356,15 @@ Il est recommandé de sauvegarder vos graphes depuis le mode interactif en cliqu
==== Editer le graphe des résultats
image::images/update_menu.png[ update plot menu image, 300, align=center]
image:images/update_menu.png[ update plot menu image, 300, align=center]
image:images/update_menu_3d.png[ update plot menu image, 300, align=center]
Une fois généré, le graphe des résultats est modifiable. Il est possible de changer :
- Le titre
- Le nom des axes
s'il s'agit d'un graphe 3D
- Le nom des axes
- Le nombre de diagrammes en violon s'il s'agit d'un graphe 2D
- La couleur s'il s'agit d'un graphe 2D
== Problèmes multi-objectifs
...
...
documentation/doc_fr.html
View file @
e614d084
...
...
@@ -1144,10 +1144,9 @@ Par exemple, la première graine vaut 0 et nous avons un batch de taille 3. Si l
</div>
<div
class=
"sect3"
>
<h4
id=
"_editer_le_graphe_des_résultats"
>
Editer le graphe des résultats
</h4>
<div
class=
"imageblock text-center"
>
<div
class=
"content"
>
<img
src=
"images/update_menu.png"
alt=
"update plot menu image"
width=
"300"
>
</div>
<div
class=
"paragraph"
>
<p><span
class=
"image"
><img
src=
"images/update_menu.png"
alt=
"update plot menu image"
width=
"300"
></span>
<span
class=
"image"
><img
src=
"images/update_menu_3d.png"
alt=
"update plot menu image"
width=
"300"
></span></p>
</div>
<div
class=
"paragraph"
>
<p>
Une fois généré, le graphe des résultats est modifiable. Il est possible de changer :
</p>
...
...
@@ -1158,11 +1157,14 @@ Par exemple, la première graine vaut 0 et nous avons un batch de taille 3. Si l
<p>
Le titre
</p>
</li>
<li>
<p>
Le nom des axes
s
’
il s
’
agit d
’
un graphe 3D
</p>
<p>
Le nom des axes
</p>
</li>
<li>
<p>
Le nombre de diagrammes en violon s
’
il s
’
agit d
’
un graphe 2D
</p>
</li>
<li>
<p>
La couleur s
’
il s
’
agit d
’
un graphe 2D
</p>
</li>
</ul>
</div>
</div>
...
...
@@ -1235,7 +1237,7 @@ l’adresse suivante :
<div
id=
"footer"
>
<div
id=
"footer-text"
>
Version 2.0 13/02/2022
<br>
Last updated 2022-02-14 09:
01:1
9 +0100
Last updated 2022-02-14 09:
42:5
9 +0100
</div>
</div>
</body>
...
...
documentation/images/island_menu.png
View replaced file @
14392961
View file @
e614d084
28.1 KB
|
W:
|
H:
28.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
documentation/images/update_menu_3d.png
0 → 100644
View file @
e614d084
16 KB
src/compile_tab.ts
View file @
e614d084
...
...
@@ -284,10 +284,12 @@ export class Compile {
run_obj
.
plot_type
=
'
3D
'
;
plot_obj
.
graph_option
.
axe_z_box
.
widget
.
show
();
plot_obj
.
graph_option
.
plots
.
widget
.
hide
();
plot_obj
.
graph_option
.
color_palet
.
hide
();
}
else
{
run_obj
.
plot_type
=
'
2D
'
;
plot_obj
.
graph_option
.
axe_z_box
.
widget
.
hide
();
plot_obj
.
graph_option
.
plots
.
widget
.
show
();
plot_obj
.
graph_option
.
color_palet
.
show
();
}
output_compile
.
action_label
.
setText
(
'
Compilation succeed
'
);
output_compile
.
action_animation
.
setFileName
(
cwd
()
+
'
/src/assets/ok_icon.png
'
);
...
...
src/island_options_win.ts
View file @
e614d084
...
...
@@ -101,7 +101,7 @@ export class Island_options_win {
const
batch_prop_layout
=
new
QBoxLayout
(
0
);
const
batch_prop_widget
=
new
QWidget
();
const
batch_prop_label
=
new
QLabel
();
batch_prop_label
.
setText
(
'
Number of Island per run :
'
);
batch_prop_label
.
setText
(
'
Number of Island
s
per run :
'
);
batch_prop_label
.
setFixedSize
(
180
,
30
);
batch_prop_widget
.
setLayout
(
batch_prop_layout
);
...
...
src/update_graph_win.ts
View file @
e614d084
...
...
@@ -17,6 +17,7 @@ export class Update_graph_win {
nb_plots
:
number
;
changed
:
boolean
=
false
;
color
:
string
;
color_palet
:
QPushButton
;
axe_z_box
:
Advanced_option_widget
;
plots
:
Advanced_option_widget
;
...
...
@@ -95,10 +96,10 @@ export class Update_graph_win {
});
// graph color
const
color_palet
=
new
QPushButton
();
color_palet
.
setFixedSize
(
this
.
plots
.
widget
.
size
().
width
()
-
10
,
25
);
color_palet
.
setText
(
'
Change Color
'
);
color_palet
.
addEventListener
(
'
clicked
'
,
()
=>
{
this
.
color_palet
=
new
QPushButton
();
this
.
color_palet
.
setFixedSize
(
this
.
plots
.
widget
.
size
().
width
()
-
10
,
25
);
this
.
color_palet
.
setText
(
'
Change Color
'
);
this
.
color_palet
.
addEventListener
(
'
clicked
'
,
()
=>
{
const
col
=
new
QColorDialog
();
col
.
addEventListener
(
'
accepted
'
,
()
=>
{
this
.
color
=
'
#
'
+
col
.
selectedColor
().
red
().
toString
(
16
)
...
...
@@ -178,7 +179,7 @@ export class Update_graph_win {
layout
.
addWidget
(
this
.
axe_z_box
.
widget
,
3
,
0
);
layout
.
addWidget
(
this
.
plots
.
widget
,
4
,
0
);
layout
.
addWidget
(
btn_widget
,
6
,
0
);
layout
.
addWidget
(
color_palet
,
5
,
0
);
layout
.
addWidget
(
this
.
color_palet
,
5
,
0
);
this
.
window
.
adjustSize
();
this
.
window
.
setFixedSize
(
this
.
window
.
size
().
width
(),
this
.
window
.
size
().
height
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment