#1766 "set key below" too close to X axis label in version 5.0
None
closed-out-of-date
nobody
None
2018-08-11
2016-03-30
Anonymous
No
All of the 5.0 versions of Gnuplot I have tried up to patchlevel 3 have been placing the Legend closer to the X axis label than the 4.6 versions I was using previously. I have created a simple test case to show the difference
I don't think the description is exactly correct. The difference (I think) is the size of the bottom margin. The default margins were changed in version 5 so that "plot" and "splot" produce closer to the same page layout for 2D plots. Using "set bmargin 5" may produce output closer to that of version 4.6.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for pointing me in the right direction. For some reason it never
occurred to me that the plot was too low rather than the key being too
high. But it seems that the legend is now drawn directly under the X axis
titlte with no space in between. Maybe there needs to be some kind of
adjustment to the legend generation code for this case.
Thank you again for taking a look at this and for all the work on gnuplot.
I have been a happy user for over 20 years now...
From the shebang in the script I gather you are using some Unix. But which terminal are you using?
Actually, this was done on Windows, using the wxt terminal. png shows the same behavior.
I don't think the description is exactly correct. The difference (I think) is the size of the bottom margin. The default margins were changed in version 5 so that "plot" and "splot" produce closer to the same page layout for 2D plots. Using "set bmargin 5" may produce output closer to that of version 4.6.
Thank you for pointing me in the right direction. For some reason it never
occurred to me that the plot was too low rather than the key being too
high. But it seems that the legend is now drawn directly under the X axis
titlte with no space in between. Maybe there needs to be some kind of
adjustment to the legend generation code for this case.
Thank you again for taking a look at this and for all the work on gnuplot.
I have been a happy user for over 20 years now...
Last edit: Henry von Tresckow 2016-03-30