From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: matlab export and insert images Date: Sun, 14 Apr 2019 22:01:53 +0200 Message-ID: <874l70gxu6.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFlKJ-0000uF-Ec for emacs-orgmode@gnu.org; Sun, 14 Apr 2019 16:02:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFlKH-0000Gq-KQ for emacs-orgmode@gnu.org; Sun, 14 Apr 2019 16:02:06 -0400 Received: from [195.159.176.226] (port=57486 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hFlKF-0000ES-LN for emacs-orgmode@gnu.org; Sun, 14 Apr 2019 16:02:05 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hFlKB-000se6-AJ for emacs-orgmode@gnu.org; Sun, 14 Apr 2019 22:01:59 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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