emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: emacs-orgmode@gnu.org
Subject: wrong-type-argument stringp nil
Date: Fri, 19 Feb 2021 14:11:32 +0000	[thread overview]
Message-ID: <87blcgkuzv.fsf@yandex.com> (raw)

Hello,

I getting the Lisp error: (wrong-type-argument stringp nil) when I 'C-c
C-c' the babel gnuplot source code "poynting", even though the pdf graph
is produced correctly. Any help at debugging would be much appreciated.

#+name: poynting
|  i |      R |    P/M |
|  0 | 0.0400 | 0.4000 |
| 20 | 0.0402 | 0.4240 |
| 40 | 0.0458 | 0.4925 |
| 50 | 0.0572 | 0.5310 |
| 60 | 0.0893 | 0.5720 |
| 65 | 0.1205 | 0.5771 |
| 70 | 0.1710 | 0.5683 |
| 75 | 0.2531 | 0.5329 |
| 80 | 0.3878 | 0.4521 |
| 89 | 0.9044 | 0.0738 |
| 90 | 1.0000 | 0.0000 |
#+begin_src gnuplot :var data=poynting :file poynting.pdf :results file
  set title 'Plot of Data from Table 1'
  show title
  set key at 30,0.8
  unset key
  set xlabel 'Angle'
  set ylabel ''
  set style datapoints
  set style line 1 lc rgb '#0060ad'  # --- blue
  set style line 2 lc rgb '#dd181f'  # --- red
  set label 'P/M' at 10,0.3700
  set label 'R' at 35,0.0855
  plot data using 1:2 with points ls 1, \
  data using 1:2 smooth csplines with lines, \
  data using 1:3 with points ls 2, \
  data using 1:3 smooth csplines with lines
#+end_src


Best wishes,

Colin Baxter.



             reply	other threads:[~2021-02-19 14:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-19 14:11 Colin Baxter [this message]
2021-02-19 15:42 ` wrong-type-argument stringp nil Eric S Fraga
2021-02-19 16:31   ` Colin Baxter

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=87blcgkuzv.fsf@yandex.com \
    --to=m43cap@yandex.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).