There is a package called
pgfsweave for R. It can sweave R code into a LaTeX document. I found we can gain some advantage from this method.
- The report document can reproduce.
- The font in figure keeps consistent with main font of document.
I think "sweave" code is the best method for data-oriented report (especially for LaTeX). By sweave, we can separate data (or figure) from the document, through LaTeX, we can separate content from document style.
Unfortunately, I didn't find a corresponding package or some equivalent method for matlab and mathematica.
I know some packages, like
matlab2tikz, that work well. But we need a more powerful tool to do this that can change our workflow and that can make our life easier.
Is that possible? How do you solve this problem? Does it meet the philosophy of matlab or mathematica?