# How to rotate a LaTeX ylabel in gnuplot?

I would like the ylabel on a gnuplot to be the same as $\omega_2(R_{3,n})$ appears in LaTeX. But if I use the following, it overlaps with the plot itself.

set ylabel "\\omega_2(R_{3,n})"


One way to get around this problem is to rotate the ylabel by 90 degrees. How can that be done?

-

gnuplot> set lmargin 20

Somewhat unrelated here, but don't you need to use write $\omega_2(R_{3,n})$ when trying to produce LaTeX-output with gnuplot?