Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.