revert constant legend box

This commit is contained in:
t-bltg 2022-02-23 10:23:58 +01:00
parent 5130da5a40
commit c3269436c1

View File

@ -1272,7 +1272,7 @@ function gr_get_legend_geometry(viewport_plotarea, sp)
GR.restorestate() GR.restorestate()
end end
legend_width_factor = 0.02 legend_width_factor = (viewport_plotarea[2] - viewport_plotarea[1]) / 45 # Determines the width of legend box
legend_textw = legendw legend_textw = legendw
legend_rightw = legend_width_factor legend_rightw = legend_width_factor
legend_leftw = legend_width_factor * 4 legend_leftw = legend_width_factor * 4