[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] matlab export and insert images
From: |
Uwe Brauer |
Subject: |
[O] matlab export and insert images |
Date: |
Sun, 14 Apr 2019 22:01:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Hello
The following code
#+begin_src matlab :results output :exports results :eval never-export :wrap
latex
x=[0:0.1:1];
y=sin(x);
plot(x,y);
print -dpng lestablenix.png
#+end_src
#+CAPTION: Results of the finite difference scheme.
#+NAME: fig:lestablenix
[[./lestablenix.png]]
Inserts in the org buffer the png image, just as I want it, however it
also inserts the part
#+RESULTS:
#+begin_latex
>> y=sin(x);
>> plot(x,y);
>> print -dpng lestablenix.png
#+end_latex
Which I don't need.
So the question is, how can I insert the image without obtaining the
begin_latex stuff.
Thanks
Uwe Brauer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] matlab export and insert images,
Uwe Brauer <=