Skip to content
Snippets Groups Projects
Commit 83bebc39 authored by Maxime MORGE's avatar Maxime MORGE
Browse files

Generate pdf

parent 51d9781e
No related branches found
No related tags found
No related merge requests found
......@@ -87,48 +87,6 @@
</Attribute>
</value>
</entry>
<entry key="$PROJECT_DIR$/data/guess/guess.1.csv">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="$PROJECT_DIR$/data/guess/guess.2.csv">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="$PROJECT_DIR$/data/guess/guess.csv">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="$PROJECT_DIR$/data/guess/guess.old.csv">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="$PROJECT_DIR$/data/guess/guess.strategy.csv">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="$PROJECT_DIR$/data/ring/ring.2.a.csv">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
</map>
</option>
</component>
......
......@@ -41,4 +41,4 @@ plt.ylabel("Share of money allocated to oneself")
plt.title("Distribution of self-allocated share per model in the dictator game")
# Sauvegarde et affichage
plt.savefig("../../figures/dictator/dictator_boxplot.svg", format="svg")
\ No newline at end of file
plt.savefig("../../figures/dictator/dictator_boxplot.pdf", format="pdf")
\ No newline at end of file
......@@ -45,4 +45,4 @@ plt.title("Distribution of personal share by model in the dictator game")
plt.legend()
# Save and display
plt.savefig("../../figures/dictator/dictator_violin.svg", format="svg")
\ No newline at end of file
plt.savefig("../../figures/dictator/dictator_violin.pdf", format="pdf")
\ No newline at end of file
......@@ -50,4 +50,4 @@ plt.ylim(20, 70) # Ensure the y-axis is between 0 and 100
plt.grid(True)
# Save the figure as an SVG file
plt.savefig('../../figures/dictator/dictator_temperature.svg', format='svg')
\ No newline at end of file
plt.savefig('../../figures/dictator/dictator_temperature.pdf', format='pdf')
\ No newline at end of file
......@@ -70,4 +70,4 @@ plt.grid(True)
plt.ylim(0, 1) # Points are between 0 and 2
# Save the figure as an SVG file
plt.savefig('../../figures/guess/guess_2loop.svg', format='svg')
plt.savefig('../../figures/guess/guess_2loop.pdf', format='pdf')
......@@ -70,4 +70,4 @@ plt.xlim(1, 10)
plt.ylim(0, 1) # Points are between 0 and 2
# Save the figure as an SVG file
plt.savefig('../../figures/guess/guess_3loop.svg', format='svg')
plt.savefig('../../figures/guess/guess_3loop.pdf', format='pdf')
......@@ -64,4 +64,4 @@ plt.grid(True)
plt.ylim(0, 1) # Points are between 0 and 1
# Save the figure as an SVG file
plt.savefig('../../figures/guess/guess_constant.svg', format='svg')
plt.savefig('../../figures/guess/guess_constant.pdf', format='pdf')
......@@ -68,4 +68,4 @@ plt.grid(True)
plt.ylim(0, 2) # Points are between 0 and 2
# Save the figure as an SVG file
plt.savefig('../../figures/rps/rps_2loop.svg', format='svg')
plt.savefig('../../figures/rps/rps_2loop.pdf', format='pdf')
......@@ -67,4 +67,4 @@ plt.grid(True)
plt.ylim(0, 2) # Points are between 0 and 2
# Save the figure as an SVG file
plt.savefig('../../figures/rps/rps_3loop.svg', format='svg')
plt.savefig('../../figures/rps/rps_3loop.pdf', format='pdf')
......@@ -63,4 +63,4 @@ plt.grid(True)
plt.ylim(0, 2) # Points are between 0 and 2
# Save the figure as an SVG file
plt.savefig('../../figures/rps/rps_constant.svg', format='svg')
plt.savefig('../../figures/rps/rps_constant.pdf', format='pdf')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment