help-octave
[Top][All Lists]
Advanced

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

Re: Creating "Pretty" Report from Octave


From: Carlo de Falco
Subject: Re: Creating "Pretty" Report from Octave
Date: Tue, 8 Jun 2010 07:05:01 +0200


On 8 Jun 2010, at 01:16, Fotios Kasolis wrote:

A relatively simple solution to your problem is the following function

which you simply call with 3 string arguments: function or script file, title, and author. The function creates a proper .tex file - together with the code included in the file you supplied it as its first argument - which you can then change to achieve the desired result.

/Fotios

A different approach I use often is having one singlae LaTeX file to include all tables rather than create one pdf from each table.
You can try it out with the attached files by doing (on a unix system):

>> printlatextable ({'1','2','3','4'}, {'1','2','3','4','5'},'aaa',eye(5,4),'test_1.tex') >> printlatextable ({'1','2','3','4'}, {'1','2','3','4','5'},'aaa',rand(5,4),'test_2.tex')
>> system ('pdflatex test.tex')

HTH,
c.

Attachment: printlatextable.m
Description: Binary data

Attachment: test.tex
Description: Binary data


reply via email to

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