emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zachary Peterson <zap5029@psu.edu>
To: emacs-orgmode@gnu.org
Subject: No image output from Maxima in Babel
Date: Fri, 05 Feb 2016 16:38:20 -0500	[thread overview]
Message-ID: <87wpqiq1mb.fsf@psu.edu> (raw)

Hello,

After recently learning about Babel, I've been working my way through
some of the examples in the various languages' documentation, and I've
run into a problem with Maxima. I evaluated this code, taken from the
documentation at
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-maxima.html#sec-4-3,
with only the filename changed:

#+name: 3d-maxima
#+header: :file maxima-3d.png
#+header: :exports results
#+header: :results graphics
#+begin_src maxima 
  programmode: false;
  plot3d(atan(-x^2+y^3/4),[x,-4,4],[y,-4,4],[grid,50,50],[gnuplot_pm3d,true]);
#+end_src

It returns this:
#+RESULTS: 3d-maxima
[[file:maxima-3d.png]]

The file is empty, though.

Running the code from within the Maxima REPL produces the expected
result.

I'm running Org version 20160201 on GNU Emacs 24.4.1 with Maxima 5.34.1
on Debian Jessie.

I would appreciate any help. Thanks.
-- 
Zachary Peterson
zap5029@psu.edu
(317) 828-2377
OpenPGP key: BF5879D6

             reply	other threads:[~2016-02-05 21:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05 21:38 Zachary Peterson [this message]
2016-02-05 22:13 ` No image output from Maxima in Babel Thomas S. Dye
2016-02-05 23:03   ` Zachary Peterson
2016-02-06  0:38     ` Thomas S. Dye
2016-02-06 14:20 ` Eric S Fraga
2016-02-07 15:58   ` Zachary Peterson
2016-02-07 19:45     ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpqiq1mb.fsf@psu.edu \
    --to=zap5029@psu.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).