This would certainly serve as a good template for a julia version. Thanks!

Den mandag den 12. maj 2014 15.42.28 UTC+2 skrev Miguel Bazdresch:
>
> Some time ago I wrote a script to use pgfplots from octave/Matlab:
>
>
> https://bitbucket.org/mbaz/printpgf/src/28cead667bda6ec745a4418bc408f7f712cf8433/inst/printpgf.m
>
> It's very easy to use and I've used it for several publications. I tried 
> it to make it very easy to perfectly match fonts with the rest of your 
> document, by including a document preamble that you specify.
>
> I want to port this to Julia, but I haven't had the time. If somebody 
> thinks this is a good idea, feel free to copy it.
>
> -- mb
>
>
> On Mon, May 12, 2014 at 6:04 AM, Oliver Lylloff 
> <[email protected]<javascript:>
> > 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