emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Problems with integration between asmyptote and org mode [7


From: Nicolas Goaziou
Subject: Re: [O] Bug: Problems with integration between asmyptote and org mode [7.7]
Date: Thu, 11 Aug 2011 16:54:19 +0200

Hello,

Daniel Gonzalez <address@hidden> writes:

> I have this code to activate asymptote:

[...]

Asymptote is included in Babel.

Be sure to load the language:

#+begin_src org
(org-babel-do-load-languages
 'org-babel-load-languages
 '((asymptote . t)
   (emacs-lisp . t)))
#+end_src

Then it's just about doing (when ii/ is created):

#+begin_src asymptote :file ii/asy-output.png
import graph;
size(0,4cm);
real f(real t) {return 1+cos(t);}
path g=polargraph(f,0,2pi,operator ..)--cycle;
filldraw(g,pink);
xaxis("$x$",above=true);
yaxis("$y$",above=true);
dot("$(a,0)$",(1,0),N);
dot("$(2a,0)$",(2,0),N+E);
#+end_src


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]