TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

You could try the following (source):

gnuplot> set lmargin 20
gnuplot> set label 1 '\omega_2(R_{3,n})' at graph -0.2, graph 0.5

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.