Hi,

This is really interesting to me as well. Being able to produce 
high-quality plots for academic publication more or less, imho, requires 
being able to typeset the textual content of the plot in LaTeX, to get 
fonts, font sizes etc to look nice with the rest of the document. There is this 
issue <https://github.com/dcjones/Gadfly.jl/issues/152> to add similar 
functionality to Gadfly.jl, but it doesn't seem like it's a priority.

// Tomas

On Monday, May 12, 2014 12:04:13 PM UTC+2, Oliver Lylloff wrote:
>
> Hello all, 
>
> For several years (in the dark Matlab-ages before Julia), I used 
> matlab2tikz <https://github.com/nschloe/matlab2tikz> to generate nice 
> looking pdf figures for academic reports. It's a nice tool and I personally 
> like the idea that my data is exported from matlab to a .tikz or .tex file 
> that I can make changes to without having to open matlab and reexport my 
> figures.
>
> Julia already has some very nice plotting features in Winston, Gadfly and 
> matplotlib (IJulia), am I forgetting someone? The exporting options are 
> good and useful for many different purposes. However, for me, there's 
> something extraordinary about the tikz/pgf plots that I haven't been able 
> to reproduce with these packages. 
>
> Therefore I've made a quick-and-dirty module 
> https://github.com/1oly/PrintFig.jl that uses PyCall to call 
> matplotlib2tikz <https://github.com/nschloe/matplotlib2tikz>, a close 
> relative to matlab2tikz, that exports figure objects to a .tex file using 
> the standalone latex documentclass. I like this approach and it creates the 
> figures that I like for academic work. It's not the intention to add this 
> to METADATA but merely to get a discussion going - if anyone is interested 
> at all...
>
> If anyone has comments, suggestions or want to discuss workflows for 
> generating latex friendly plots, don't be shy :)
>
> Cheers,
> Oliver
>

Reply via email to