mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 13:03:05 +02:00
chore: make graphs larger
This commit is contained in:
parent
c5f92b0055
commit
a10378df60
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 |
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
\documentclass[12pt,a4paper]{article}
|
||||
\documentclass[a4paper]{article}
|
||||
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{amsmath}
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user