def set_figure_for_paper(figure):
    figure.xaxis.axis_label_text_font_size = "24pt"
    figure.yaxis.axis_label_text_font_size = "24pt"
    figure.legend.label_text_font_size = "22pt"
    figure.xaxis.major_label_text_font_size = "18pt"
    figure.yaxis.major_label_text_font_size = "18pt"
