Commit e614d084 authored by LIGNEUL CLEMENT's avatar LIGNEUL CLEMENT
Browse files

update documentation + update plot color

parent 14392961
......@@ -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 names
- The number of violin plots if the plot is a 2D plot
- The plot color if it is a 2D graph
== Multi-objective problems
......
......@@ -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 names</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:01:19 +0100
Last updated 2022-02-14 09:41:56 +0100
</div>
</div>
</body>
......
......@@ -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
......
......@@ -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&#8217;il s&#8217;agit d&#8217;un graphe 3D</p>
<p>Le nom des axes</p>
</li>
<li>
<p>Le nombre de diagrammes en violon s&#8217;il s&#8217;agit d&#8217;un graphe 2D</p>
</li>
<li>
<p>La couleur s&#8217;il s&#8217;agit d&#8217;un graphe 2D</p>
</li>
</ul>
</div>
</div>
......@@ -1235,7 +1237,7 @@ l&#8217;adresse suivante :
<div id="footer">
<div id="footer-text">
Version 2.0 13/02/2022<br>
Last updated 2022-02-14 09:01:19 +0100
Last updated 2022-02-14 09:42:59 +0100
</div>
</div>
</body>
......
documentation/images/island_menu.png

28.1 KB | W: | H:

documentation/images/island_menu.png

28.5 KB | W: | H:

documentation/images/island_menu.png
documentation/images/island_menu.png
documentation/images/island_menu.png
documentation/images/island_menu.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -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');
......
......@@ -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 Islands per run :');
batch_prop_label.setFixedSize(180, 30);
batch_prop_widget.setLayout(batch_prop_layout);
......
......@@ -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());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment