|
From: Daniel J S. <dan...@ie...> - 2006-11-03 23:29:45
|
John wrote: > Hi, > > I'm using the pslatex terminal of gnuplot. > Everything works fine but the annoying thing is that the default key width is > proportional to the number of characters contained in the title. However, the > numbers of characters produced by the LaTeX code $\\delta=1$ (see code below) > are less and so everytime I have to adjust the key width by hand. > Is there a trick or a regular feature to deal with this problem? > > Here is the gnuplot code > set terminal pslatex norotate > set output "out.tex" > set format xy "$%g$" > set key right bottom Left reverse spacing 2 width -3.5 box lw 0.5 > plot [x=0:1] [0:1] "data.txt" title "$\\delta=1$" w l lt 1 lw 1 John, I'm not sure there is such a feature. The keys are gradually getting upgrades, but probably not top priority stuff. I'll admit they aren't the most flexible some times. Perhaps you could contribute a patch. Any ideas for how best to specify desired width? Are you thinking manually adjustment? I don't think interpretting the TeX is in the immediate future. Maybe some phantom text (kind of strange solution though)? Dan |