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