From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Bizarre gnuplot file creation error
Date: Sat, 4 Nov 2017 13:05:16 -0400 [thread overview]
Message-ID: <CAFAhFSVukvjkGAT2=2d0YHxMOMz2Eb__LTdrdhZ2yma4v0-DFg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]
Trying the babel gnuplot the other day, I had trouble getting the results
to C-c C-c to actually materialize in the place I'd given. Taking the
example from the org-mode babel gnuplot page, (changing the location):
#+begin_src gnuplot :exports both :file omnigraphics/omnig10.png
reset
set title "Putting it All Together"
set xlabel "X"
set xrange [-15:15]
set xtics -15,2,15
set ylabel "Y"
set yrange [-15:15]
set ytics -15,2,15
f(x) = sqrt(x - 1) + 1
g(x) = x**3
h(x) = sqrt(-x - 1) + 1
plot f(x) w lp lw 1, g(x) w lp lw 1, h(x) w l lw 1
#+end_src
The system was not creating the png in the given folder. Finally it
occurred to me to look in another place where I'd previously been creating
org-mode gnuplot pngs -- and there it was! I could do C-c C-c again and
again and see new versions of the png being created each time in
yesterday's folder, i.e., not the location given with :file. So the
:file omnigraphics/omnig10.png was being blown off and org-mode internal
had remembered where I'd previously created pngs and kept creating them
there. I've tried to recreate this scenario with just the code snippet
above -- fresh (non-daemon) emacs processes, changing the :file location
each time -- and I've reproduced the problem sometimes. I've combed through
my personal init els and it's definitely nothing I'm telling it. Strange. .
. .
LB
[-- Attachment #2: Type: text/html, Size: 1741 bytes --]
next reply other threads:[~2017-11-04 17:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-04 17:05 Lawrence Bottorff [this message]
2017-11-07 14:42 ` Bizarre gnuplot file creation error Lawrence Bottorff
2017-11-09 18:07 ` Eric S Fraga
2017-11-16 21:40 ` Nicolas Goaziou
2017-11-17 7:45 ` Eric S Fraga
2017-11-22 14:03 ` Eric S Fraga
2017-11-28 23:21 ` Nicolas Goaziou
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='CAFAhFSVukvjkGAT2=2d0YHxMOMz2Eb__LTdrdhZ2yma4v0-DFg@mail.gmail.com' \
--to=borgauf@gmail.com \
--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).