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'm using the minipage package to position two graphs, generated by gnuplot, side-by-side. I use the epslatex terminal. The graphs are rather small, and I'd like to increase their size by reducing the gap between each graph and its (vertical) y-axis label. How can I do this?

share|improve this question
    
Reducing the space between the graph and the axis labels is something you'll have to do inside gnuplot: LaTeX can't really help you there. –  Seamus Aug 9 '11 at 15:42
    
Thanks Seamus. A gnuplot solution would also be fine. –  user4417 Aug 9 '11 at 15:54
3  
I think you misunderstand: surely only a gnuplot solution is possible. LaTeX can't modify your pictures on the fly the way you seem to want it to. And this isn't the right place to be asking for gnuplot solutions. –  Seamus Aug 9 '11 at 15:55
1  
Move to superuser? –  Caramdir Aug 9 '11 at 16:28
add comment

closed as off topic by Joseph Wright May 3 '12 at 21:13

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

up vote 2 down vote accepted

Gnuplot's epslatex terminal generates an encapsulated postscript file containing the graph, and a tex file containing commands to import the graph and add labels, etc. The labels are added using the picture environment; just change the coordinates in the tex file if you want to move them.

share|improve this answer
add comment

The set ylabel command can be given an optional x or y position offset. Beware though, for me, Gnuplot 4.4 gave errors relating to a missing semicolon. The older Gnuplot 4.2.4 worked fine. For example:

set ylabel "angels" 5

For Gnuplot 4.4, use the keyword "offset". For example:

set ylabel "angels" offset 2
share|improve this answer
add comment

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