>>> "Eric" == Eric S Fraga writes:
> On Wednesday, 16 Aug 2017 at 12:33, Uwe Brauer wrote:
> [...]
>> 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
> 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
> and delete the print statement in the last line.
I just tried it, results in an empty png file.
> On Aug 16, 2017, at 11:19 AM, Eric S Fraga wrote:
>
> On Wednesday, 16 Aug 2017 at 17:48, Berry, Charles wrote:
>
> [...]
>
>> org 9.0.9 and FWIW, I see this
>
> [...]
>
>> in org-babel-execute:octave
>
> But I get the following error message from babel/octave:
>
>
On Wednesday, 16 Aug 2017 at 17:48, Berry, Charles wrote:
[...]
> org 9.0.9 and FWIW, I see this
[...]
> in org-babel-execute:octave
But I get the following error message from babel/octave:
error: invalid call to script /usr/share/octave/4.0.3/m/miscellaneous/ans.m
error: evaluating argument
> On Aug 16, 2017, at 10:41 AM, Eric S Fraga 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:
>>
>> :
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
> On Aug 15, 2017, at 2:12 AM, Neil Jerram wrote:
>
> On 13/08/17 10:33, Uwe Brauer wrote:
>> Hi
>>
>> 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
On Wednesday, 16 Aug 2017 at 12:33, Uwe Brauer wrote:
[...]
> 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.
Does this one thread better?
Thanks,
eric
--
: Eric S
I think I know why, it seems that some email clients ignore the
"In-Reply-To" field, and just assume that the reply is in regards to a
matching "Subject" field.
Mx. Fraga's email messages *do have* have a "Subject" field, however,
strangely enough, the subject text doesn't appear in Gnus
On Wednesday, 16 Aug 2017 at 12:33, Uwe Brauer wrote:
[...]
> 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.
Interesting and
>>> "Eric" == Eric S Fraga 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
> On 13/08/17 10:33, Uwe Brauer wrote:
> I guess the problem is that the Matlab line "print -dpng testplot.png"
> is correctly writing the plot to testplot.png, as you want, but then
> org-mode is overwriting that file because of the ":file testplot.png".
> I would try deleting
>>> "John" == John Kitchin writes:
> You need to get the contents of the png to get output. Maybe the type
> command will do that. E.g. Add as the last line:
> type testplot.png
Thanks but this did not work, neither.
Uwe
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
On 13/08/17 10:33, Uwe Brauer wrote:
Hi
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 :session :exports both :file testplot.png
t=[0:0.1:1];
You need to get the contents of the png to get output. Maybe the type
command will do that. E.g. Add as the last line:
type testplot.png
On Sun, Aug 13, 2017 at 1:34 AM Uwe Brauer wrote:
>
> Hi
>
> I would like to execute some matlab code in org file (using GNU emacs 26
> and
Hi
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 :session :exports both :file testplot.png
t=[0:0.1:1];
y=sin(t);
plot(t,y)
print -dpng testplot.png
17 matches
Mail list logo