LukasP wrote:
... OK, this would work.
But it means to have two different y-labels when viewing in gnuplot
and when using "set terminal latex".
yes
LukasP wrote:
Wouldn't be better gnuplot to use \rotatebox[angle=90]{} automatically
when "set terminal latex" is active?
this would break compatibility with existing plot scripts relying on the
behaviour of the 'latex' terminal that a ylabel like "a\\\\b\\\\c" is
printed 'shortstacked' (i.e. one character below the other).
the 'latex' terminal code was written when the 'graphics' or 'graphicx'
packages weren't established (or even existing?).
what could be done is to introduce a 'rotate' option to the
'latex' terminal and when this option is activated use the
'\rotatebox' command (and provide a test in the latex file
to test for the existence of the 'graphics' or 'graphicx' package).
but then the question would arise if it wouldn't be better to
use the 'epslatex' terminal which does this ylabel rotation
automatically and produces a far better plot because postscript
isn't restricted to the limited graphics capabilities of latex's
'picture' environment.