help-octave
[Top][All Lists]
Advanced

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

Re: Plots in LaTeX


From: Ben Abbott
Subject: Re: Plots in LaTeX
Date: Fri, 26 Mar 2010 19:05:43 -0400

On Mar 26, 2010, at 11:54 AM, Jason Martin wrote:

> Can anyone help me understand what file format I need to use with the 
> following print commands?  Are what I have listed correct?
> 
> On 3/23/2010 1:38 PM, Jason Martin wrote:
>>     Also, is my understanding correct on the following print -d"device" 
>> commands?
>> 
>> -dtex filename.tex 
>> 
>> -depslatex filename.eps
>> 
>> -depslatexstandalone I have no idea what extension to use here, and the 
>> manual doesn't explain either
>> 
>> -dpstex    filename.ps
>> 
>> -dpslatex    filename.ps
>> 
>>     Thanks in advance for any help.
>> 
>> Jason

Just let Octave pick the extension for you.

        print -depslatex test

The result will be a pair of files. One test.tex and one test.eps

In your latex document you just need to input the latex file ...

        \input{test.tex}

Ben





reply via email to

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