I just got upgraded from gnuplot 5.2.6 to gnuplot Version 5.2 patchlevel 7 last modified 2019-05-29.
There seems to be a regression for the positioning of ylabels. I attached multiple examples: a LaTeX/tikz example, and a gnuplot file I tested with the qt-backend).
However, there seem to be different causes for different backends:
While xtics and ytics are enabled, everything seemed to work fine with the qt-backend, only disabling them caused it here. The tikz example, on the other hand, shows the bug with either xtics & ytics enabled or disabled.
Much simpler example with wxt or qt terminal
The ylabel sits tightly on the left border, with the lower end of the "y" (depending on the font i guess) even sticking into the graph. (qt need plotting twice, the first try looks terrible due to the slow font initialisation problem)
Karl: that test case may expose a separate but clearly related bug, or at least an unexpected outcome. Why is there a difference in placement between "unset ytics" and "set ytics format '' scale 0.0"?
Last edit: Ethan Merritt 2019-06-13
I fear this is a lose/lose decision. The y label positioning was causing problems for some people in versions 5.0 and 5.2 (E.g. bugs 2048 2052 2165). Even on systems not obviously suffering from those bugs, some terminals were placing the ylabel so close to the left edge of the canvas that text markup or changes in font size pushed it partially off the edge. So commit 3df39e tried to clean this up. Part of that was shifting placement of the rotated ylabel a partial character unit to the right (closer to the axis). Now this current bug points out that for some terminals the revised ylabel placement in 5.2.7 puts it too close to the plot, at least if there are no ytic labels. Again the severity is terminal-dependent.
So what to do?
If you want to experiment, this is the relevant line of code:
Also:
It is quite possible that the terminals with least amount of space between the label and the plot border have a separate bug that gets the vertical justification of the rotated text wrong.