Skip to content

Commit

Permalink
larger font size for plots
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGellis committed Apr 24, 2023
1 parent a834728 commit bc31e4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pylithics/src/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def plot_surfaces(image_array, contours_df, output_figure):

ax.set_xticks([])
ax.set_yticks([])
plt.legend(bbox_to_anchor=(1.02, 0), loc="lower left", borderaxespad=0, fontsize=17)
plt.legend(bbox_to_anchor=(1.02, 0), loc="lower left", borderaxespad=0, fontsize=18)
plt.title("Detected surfaces", fontsize=30)
plt.savefig(output_figure)
plt.close(fig)
Expand Down Expand Up @@ -113,7 +113,7 @@ def plot_scars(image_array, contours_df, output_figure):
plt.figtext(0.02, 0.5, ("A: Total Area"), fontsize=18)
plt.figtext(0.02, 0.52, ("B: Maximum Breadth"), fontsize=18)
plt.figtext(0.02, 0.54, ("L: Maximum Length"), fontsize=18)
plt.legend(bbox_to_anchor=(1.02, 0), loc="lower left", borderaxespad=0, fontsize=11)
plt.legend(bbox_to_anchor=(1.02, 0), loc="lower left", borderaxespad=0, fontsize=14)
plt.title("Scar measurements (in millimeters)", fontsize=30)
plt.savefig(output_figure)
plt.close(fig)
Expand Down Expand Up @@ -153,7 +153,7 @@ def plot_angles(image_array, contours_df, output_path):

ax.set_xticks([])
ax.set_yticks([])
plt.legend(bbox_to_anchor=(1.02, 0), loc="lower left", borderaxespad=0, fontsize=11)
plt.legend(bbox_to_anchor=(1.02, 0), loc="lower left", borderaxespad=0, fontsize=14)
plt.title("Scar Strike Angle measurement (in degrees)", fontsize=30)
plt.savefig(output_path)
plt.close(fig)
Expand Down

0 comments on commit bc31e4b

Please sign in to comment.