[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel, matlab export plot to png fails
From: |
Eric S Fraga |
Subject: |
Re: [O] babel, matlab export plot to png fails |
Date: |
Tue, 15 Aug 2017 18:21:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
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
--
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-551-g92e8c8
signature.asc
Description: PGP signature
- Re: [O] babel, matlab export plot to png fails, (continued)
- 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, 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 <=
Message not available