[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel, matlab export plot to png fails
From: |
Berry, Charles |
Subject: |
Re: [O] babel, matlab export plot to png fails |
Date: |
Wed, 16 Aug 2017 17:48:15 +0000 |
> On Aug 16, 2017, at 10:41 AM, Eric S Fraga <address@hidden> wrote:
>
> On Wednesday, 16 Aug 2017 at 17:25, Berry, Charles wrote:
>
> [...]
>
>> I do not have matlab, but looking at the code in ob-matlab.el and
>> ob-octave.el, it seems that the usual header args should do:
>>
>> : :results graphics :file testplot.png
>
> This doesn't work for me, at least for octave. What version of org are
> you using?
>
org 9.0.9 and FWIW, I see this
(gfx-file (ignore-errors (org-babel-graphical-output-file params)))
(result (org-babel-octave-evaluate
session
(if gfx-file
(mapconcat 'identity
(list
"set (0, \"defaultfigurevisible\", \"off\");"
full-body
(format "print -dpng %s" gfx-file))
"\n")
full-body)
in org-babel-execute:octave
Chuck
- [O] babel, matlab export plot to png fails, Uwe Brauer, 2017/08/13
- Re: [O] babel, matlab export plot to png fails, John Kitchin, 2017/08/13
- Re: [O] babel, matlab export plot to png fails, Neil Jerram, 2017/08/15
- Re: [O] babel, matlab export plot to png fails, Uwe Brauer, 2017/08/16
- Re: [O] babel, matlab export plot to png fails, Berry, Charles, 2017/08/16
- Re: [O] babel, matlab export plot to png fails, Eric S Fraga, 2017/08/16
- Re: [O] babel, matlab export plot to png fails,
Berry, Charles <=
- Re: [O] babel, matlab export plot to png fails, Eric S Fraga, 2017/08/16
- Re: [O] babel, matlab export plot to png fails, Berry, Charles, 2017/08/16
- Re: [O] babel, matlab export plot to png fails, Uwe Brauer, 2017/08/16