[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel, matlab export plot to png fails
From: |
Uwe Brauer |
Subject: |
Re: [O] babel, matlab export plot to png fails |
Date: |
Wed, 16 Aug 2017 12:33:20 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>>> "Eric" == Eric S Fraga <address@hidden> writes:
> On Sunday, 13 Aug 2017 at 08:33, Uwe Brauer wrote:
>> I would like to execute some matlab code in org file (using GNU emacs 26
>> and the git version of org mode) and save the result of the plot command
>> in a png file, so I tried
> [...]
>> #+begin_src matlab :results output latex :exports results :file
testplot.png
>> t=[0:0.1:1];
>> y=sin(t);
>> plot(t,y)
>> print -dpng testplot.png
>> #+end_src
> Maybe try with ":results file" instead of "output latex"? Works for
> octave (I don't have MATLAB). That is:
> #+begin_src matlab :results file :exports results :file testplot.png
> ...
> #+end_src
In that case testplot.png contains zero bytes.
BTW Eric, thanks for your reply, but a lot of your posts seem to be
outside the thread, at least when I read them via gnus or thunderbird.
Not sure who is the culprit.....
It makes reading it a bit difficult.
- Re: [O] babel, matlab export plot to png fails, (continued)
- 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, 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, 2017/08/16
- Re: [O] babel, matlab export plot to png fails, Uwe Brauer, 2017/08/16
Re: [O] babel, matlab export plot to png fails, Eric S Fraga, 2017/08/15
- Re: [O] babel, matlab export plot to png fails,
Uwe Brauer <=
Message not available