chore: make graphs larger

This commit is contained in:
Krzysztof kuhy Rudnicki 2025-05-25 00:27:43 +02:00
parent c5f92b0055
commit a10378df60
8 changed files with 16 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 135 KiB

View File

@ -1,4 +1,4 @@
\documentclass[12pt,a4paper]{article}
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}

View File

@ -30,11 +30,13 @@ df = pd.read_csv(StringIO(data_str), sep=';')
# Create the scatter plot
plt.figure(figsize=(10, 6))
plt.scatter(df['averageProfit'], df['riskMeasureGini'], alpha=0.7, s=50)
plt.scatter(df['averageProfit'], df['riskMeasureGini'], alpha=0.7, s=200)
# Add labels and title
plt.xlabel('Przeciętny Zysk')
plt.ylabel('Ryzyko')
plt.xlabel('Przeciętny Zysk', fontsize=16)
plt.ylabel('Ryzyko', fontsize=16)
plt.xticks(fontsize=16)
plt.yticks(fontsize=16)
# Add grid for better readability
plt.grid(True, alpha=0.3)

View File

@ -46,11 +46,13 @@ plt.plot(scenario1_sorted, y_values, 'b-o', label='Scenariusz 1', linewidth=2, m
plt.plot(scenario2_sorted, y_values, 'g-s', label='Scenariusz 2', linewidth=2, markersize=4)
plt.plot(scenario3_sorted, y_values, 'r-^', label='Scenariusz 3', linewidth=2, markersize=4)
# Add labels and title
plt.xlabel('Przeciętny Zysk')
plt.ylabel('Odwrotna dystrybuanta')
plt.xlabel('Przeciętny Zysk', fontsize=16)
plt.ylabel('Odwrotna dystrybuanta', fontsize=16)
plt.xticks(fontsize=16)
plt.yticks(fontsize=16)
plt.ylim(0, 1) # Set y-axis limits to cut off values outside 0-1 range
plt.grid(True, alpha=0.3)
plt.legend()
plt.legend(fontsize=16)
# Format the plot
plt.tight_layout()

View File

@ -38,11 +38,13 @@ plt.plot(scenario2_sorted, y_values, 'g-s', label='Scenariusz 2', linewidth=2, m
plt.plot(scenario3_sorted, y_values, 'r-^', label='Scenariusz 3', linewidth=2, markersize=4)
# Add labels and title
plt.xlabel('Ryzyko')
plt.ylabel('Odwrotna dystrybuanta')
plt.xlabel('Ryzyko', fontsize=16)
plt.ylabel('Odwrotna dystrybuanta', fontsize=16)
plt.xticks(fontsize=16)
plt.yticks(fontsize=16)
plt.ylim(0, 1) # Set y-axis limits to cut off values outside 0-1 range
plt.grid(True, alpha=0.3)
plt.legend()
plt.legend(fontsize=16)
# Format the plot
plt.tight_layout()