emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* matlab export and insert images
@ 2019-04-14 20:01 Uwe Brauer
  0 siblings, 0 replies; only message in thread
From: Uwe Brauer @ 2019-04-14 20:01 UTC (permalink / raw)
  To: emacs-orgmode


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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-14 20:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-14 20:01 matlab export and insert images Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).