Thanks for your help G�nter,
I figured out what my problem was, it had to do with pdflatex. 
Pdflatex has two problems which caused my issues:
1.) It does not support eps
2.) It does not support the \shortstack command

Using the epslatex terminal from gnuplot instead of either latex or pslatex 
solves this problem. The \put and \rotatebox are used intstead of \shortstack 
to do the rotation and pdflatex likes this. 
The first problem is solved by running epstopdf on the eps output file after 
running gnuplot. Because the tex output file from gnuplot includes the image 
without listing the extension, when pdflatex renders the file it chooses the 
pdf image, and when anything else renders the file it chooses the eps image. 

So it seems like this is a very quick way to use native latex text in the 
images (without having to use psfrag)

I still can't get new lines, but it's not so much of an issue now...

Thanks again,
Bonne Eggleston



-----Original Message-----
From: G. Milde [mailto:[EMAIL PROTECTED]
Sent: Thursday, 18 November 2004 9:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Help with GNUPlot in lyx document

On 18.11.04, Eggleston, Bonne (Contractor) wrote:
 
> Has anyone successfully got gnuplot to work with lyx to print vertical 
> y labels? I'm sure it's possible but I can't find the info anywhere.
> Any help is appreciated.

I am using Gnuplot/LyX for my daily work and the way I am doing it is via eps. 
This gives me nice plots to include with the Graphic inset and rotated y-label 
by default. If I want LaTeX fonts or Symbols, I use psfrag to replace text 
patterns in the eps.

Hope this helps

G�nter

--
G.Milde web.de

Reply via email to