
From:  Jose 
Subject:  Re: [newbie] advice for using LaTeXcode in Octave graphs 
Date:  Wed, 9 Oct 2013 14:12:12 +0300 
Useragent:  Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 
On 10/09/2013 01:15 PM, Jean Dubois wrote:
Can someone here tell me what the preferred method is for using LaTeXcode in combination with Octaveplots. I currently use "print deps ..." to generate epsfiles from my plots and then I use psfrag in LaTeX to substitute simple labels and legends by more complicated LaTeXformulas. This method works but it often happens that the placement and size of the final formulas is not optimal.
I was doing the same for a while, until I discovered matlab2tikz and decided to learn the basics of PGP/TikZ.
Now what I do: I first plot the figure in octave using latex syntax for the texts (labels, titles, whatever).  Then I use matlab2tikz (https://github.com/nschloe/matlab2tikz) to convert the plot to tikz.  Then I can do all sort of manual modifications, including adjusting the text position, transparencies, etc.
Good luck. J.
[Prev in Thread]  Current Thread  [Next in Thread] 