From help-request at octave dot org Mon Jan 24 02:19:58 2005 Subject: Re: octave -> gnuplot -> latex in labels HOWTO ? From: Claudio Belotti To: help at octave dot org Date: Mon, 24 Jan 2005 09:22:39 +0100 Hi Matt, my experience with latex: \usepackage{psfrag} [...] \begin{figure}[htb] \centering \psfrag{CH4}{CH$_4$} \includegraphics[height=0.925\textwidth,angle=270]{./imgs/ch4_K_200310.ps} \label{fig:ch4K} \end{figure} this converts "CH4" in the title of the plot in "CH" with "4" as subscript. regards Claudio Matt Flax wrote: > Hello, > > I would like some math formatting inserted into my wordprocessor Figure > x/y labels. > > I would like to put some formatting in my xlabels ... something like : > gset xlabel '$\\gamma h_2$' > Which when viewed through the word processor should be printed as the > Greek letter Gamma and an 'h' with a '2' as subscript. > > Does anyone out there have PERSONAL examples of how to put latex into > the labels of plots .... and then import to latex or preferably LyX ? > > Normally LyX allows you to export it as a simple .fig file which gets > converted on the fly , however the labels don't seem to enter the tex or > lyx math modes ... > > thanks > Matt ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------