emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: emacs-orgmode@gnu.org
Subject: Re: Plotting a table of date+time pairs
Date: Sat, 30 Nov 2024 07:17:42 +0100	[thread overview]
Message-ID: <87wmglckjd.fsf@web.de> (raw)
In-Reply-To: <871pyu9ysj.fsf@ucl.ac.uk> (Eric Fraga's message of "Fri, 29 Nov 2024 09:30:43 +0000")

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> Sure, see attached.  This example has a table of data to plot (simple
> example with two columns) and the gnuplot src block to create a PDF
> plot.  You invoke gnuplot by typing C-c C-c in the src block.  You can
> then view the result with C-c C-o.
> [...]

Ok... I had to (require 'ob-gnuplot), but then the example worked fine.
It took a while but I got my own table work as well, more or less (see
below).

Thank you very much!


"Max Nikulin" <manikulin@gmail.com> writes:

> <https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html>

Very nice overview and reference, thank you very much as well.

I now have one remaining problem: my time values in the second column
contain the name of the time zone - the purpose is to flag the time as
summer or winter time.  Currently I need to remove these indicators from
the table, else plotting fail, gnuplot doesn't understand the data.

Can I tell "ob-gnuplot" to export the table in a different way - how?

The time zone makes a difference when exporting since the generated
data file has a different format: the time fields including the timezone
get wrapped in quotation marks, without time zone they are exported
literally.


Thanks again,

Michael.


  reply	other threads:[~2024-11-30  6:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-28  1:21 Plotting a table of date+time pairs Michael Heerdegen
2024-11-28  9:27 ` Fraga, Eric
2024-11-28 23:17   ` Michael Heerdegen
2024-11-29  9:30     ` Fraga, Eric
2024-11-30  6:17       ` Michael Heerdegen [this message]
2024-11-30  6:48         ` Michael Heerdegen
2024-11-29 15:21     ` Max Nikulin

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=87wmglckjd.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --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).