emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: Eric S Fraga <esflists@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Trying to get chart from table working
Date: Wed, 04 Oct 2017 07:24:12 -0400	[thread overview]
Message-ID: <1507116252.1209573.1127455864.43E03BE4@webmail.messagingengine.com> (raw)
In-Reply-To: <871smjwk34.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]


On Wed, Oct 4, 2017, at 01:36 AM, Eric S Fraga wrote:
> On Tuesday,  3 Oct 2017 at 15:28, Peter Davis wrote:
> > Yup. I deleted the source block and the results line, and now export to
> > HTML and PDF works with no problems.
> 
> Please post the complete file (t.org?) to this list.

Ok. The original (t.org) is exactly what you posted a few days ago. This
fails to export HTML. ("Wrong type argument")

The other file (t2.org) has the empty table cells filled in, and has the
SRC and RESULTS blocks removed. This exports to HTML or PDF with no
problem.

Thanks,
-pd


-- 
  Peter Davis
  www.techcurmudgeon.com

[-- Attachment #2: t2.org --]
[-- Type: application/octet-stream, Size: 185 bytes --]

* table
#+name: measurements
|       Date | PSA |         |
|------------+-----+---------|
| 2017-08-11 | 185 | #ffffff |
| 2017-08-21 | 186 | #ffdd99 |
| 2017-09-19 | 854 | #ffdd99 |


[-- Attachment #3: t.org --]
[-- Type: application/octet-stream, Size: 439 bytes --]

* table
#+name: measurements
|       Date | PSA |         |
|------------+-----+---------|
| 2017-08-11 | 185 |         |
| 2017-08-21 |     | #ffdd99 |
| 2017-09-19 | 854 | #ffdd99 |

#+begin_src gnuplot :var data=measurements :file timeseries.pdf :results file
  set xdata time
  set timefmt "%Y-%m-%d"
  set xrange ["2017-08-01":"2017-10-01"]
  unset key
  plot data using 1:2 with histeps
#+end_src

#+results:
[[file:timeseries.pdf]]

  reply	other threads:[~2017-10-04 11:24 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-29 14:16 Trying to get chart from table working Peter Davis
2017-09-29 14:51 ` Eric S Fraga
2017-09-29 15:42   ` Peter Davis
2017-09-29 15:46     ` Peter Davis
2017-09-29 21:32       ` Peter Davis
2017-09-30 13:25         ` Eric S Fraga
2017-10-01 13:47           ` Peter Davis
2017-10-01 18:51             ` Thierry Banel
2017-10-01 19:06               ` Peter Davis
2017-10-02 10:27                 ` Eric S Fraga
2017-10-02 11:21                   ` Peter Davis
2017-10-02 12:59                     ` Eric S Fraga
2017-10-02 13:54                       ` Peter Davis
2017-10-02 13:58                         ` Peter Davis
2017-10-02 14:24                           ` Peter Davis
2017-10-02 15:37                             ` Eric S Fraga
2017-10-02 19:39                               ` Peter Davis
2017-10-03  8:14                                 ` Eric S Fraga
2017-10-03 14:37                                 ` Nick Dokos
2017-10-03 14:56                                   ` Peter Davis
2017-10-03 17:23                                     ` Nick Dokos
2017-10-03 19:28                                       ` Peter Davis
2017-10-04  5:36                                         ` Eric S Fraga
2017-10-04 11:24                                           ` Peter Davis [this message]
2017-10-04 11:49                                             ` Peter Davis
2017-10-04 12:48                                               ` Eric S Fraga
2017-10-04 13:12                                                 ` Peter Davis
2017-10-04 16:30                                               ` Eric S Fraga
2017-10-04 12:47                                             ` Eric S Fraga
2017-10-05 14:39                                             ` Nicolas Goaziou
2017-10-05 16:04                                               ` Peter Davis
2017-10-02 15:12           ` Nick Dokos
2017-10-02 15:40             ` Eric S Fraga
2017-10-02 11:22         ` Robert Horn
2017-10-02 11:29           ` Peter Davis

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=1507116252.1209573.1127455864.43E03BE4@webmail.messagingengine.com \
    --to=pfd@pfdstudio.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=esflists@gmail.com \
    /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).