[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: LaTeX in Octave

From: Fulford, Glenn
Subject: RE: LaTeX in Octave
Date: Thu, 23 Mar 2000 09:23:51 +1200

An alternative approach to those mentioned, is to use a LaTeX package called
What PSfrag does, is replaces a text label in an eps file with a LaTeX
equivalent. For more information, see
and the PSfrag package can be downloaded from

Recently I saw posted in the Matlab newsgroup, by  Arno Linnemann, a Matlab
function laprint.m 
that interfaced nicely with psfrag, but I hadn't had a chance to try it out
I would expect this would be easy to port to Octave. 

Laprint.m is free and available from

Here is an example:

1. Create the matlab plot:
   >> set(0,'DefaultTextInterpreter','none')
   >> plot([1 2])
   >> title('\huge The \underline{true} $\int_\tau^\infty\tilde
   >> laprint
2. Push save in the LaPrint window. 
3. Include unnamed.tex and unnamed.eps in a LaTeX document like this:
4. Compile and view using, e.g., latex, dvips and ghostview 

Hope this helps,  Glenn.
Glenn Fulford    Ph:  +64 4 922 1513   Fax: +64 4 528 1380  
Wallaceville Animal Research Centre,   Upper Hutt, New Zealand. 
email: address@hidden   address@hidden   

> -----Original Message-----
> From: Ben Sapp [SMTP:address@hidden
> Sent: Thursday, March 23, 2000 4:34 AM
> To:   SZABO Sandor
> Cc:   address@hidden
> Subject:      Re: LaTeX in Octave
> SZABO Sandor wrote:
> > 
> > Dear Octave users,
> > 
> > I would like to print a function (e.g. Gauss function) with the label
> > including  the
> > formula of it. Does exist a package which can handle LaTeX formula?
> > I'm interested in any possibilities.
> > Thanks,
> >                     Sandor Szabo
> >

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]