Untitled
unknown
plain_text
a year ago
534 B
8
Indexable
# Re-create the graph as requested, without additional explanations
# Create the plot
fig, ax = plt.subplots()
# Brazil's PPF
ax.plot(brazil_x, brazil_y, label='Brazil', color='blue')
# Peru's PPF
ax.plot(peru_x, peru_y, label='Peru', color='green')
# Add labels and title
ax.set_xlabel('Soybeans (ounces per hour)')
ax.set_ylabel('Coffee (ounces per hour)')
ax.set_title('Production Possibilities Frontier per Worker per Hour')
# Add grid and legend
ax.grid(True)
ax.legend()
# Show the plot
plt.show()
Editor is loading...
Leave a Comment