all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Stansell <paulstansell@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: using gnuplot's "splot" and "every" commands on org-mode table data
Date: Tue, 7 May 2013 19:19:38 +0100	[thread overview]
Message-ID: <CAMJKaZyCc3jwaWY-d5DpDBLXDAMtJ6DuZU+xvQ69Qzih7cG3PA@mail.gmail.com> (raw)
In-Reply-To: <87k3ncxeqt.fsf@gmail.com>

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

Hi Eric,

If I change your example org file a little by adding row and column
names to the table as in the attached file I get the following
behaviour that I don't understand:  if I execute C-c on the shell
function the file /tmp/data.gnuplot has the format that gnuplot can
plot;  however, if I execute C-c on the gnuplot function the form of
/tmp/data.gnuplot is mangled with "" and () so it can no longer be
plotted by the gnuplot command.

Can you shed any light on this?

Thanks,

Paul

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

#+name: data
|----+---+---+----|
|    | x | y |  z |
|----+---+---+----|
| r1 | 1 | 1 |  2 |
| r2 | 1 | 2 |  5 |
| r3 | 1 | 3 | 10 |
|    |   |   |    |
| r4 | 2 | 1 |  5 |
| r5 | 2 | 2 |  8 |
| r6 | 2 | 3 | 13 |
|    |   |   |    |
| r7 | 3 | 1 | 10 |
| r8 | 3 | 2 | 13 |
| r9 | 3 | 3 | 18 |
|----+---+---+----|


#+name: clean
#+begin_src sh :var data=data :results file :file /tmp/data.gnuplot
  echo "$data" > /tmp/data.gnuplot
#+end_src

#+RESULTS: clean
[[file:/tmp/data.gnuplot]]

#+begin_src gnuplot :var data=clean(data) :results silent
  splot "$data" u 1:2:3
#+end_src

  parent reply	other threads:[~2013-05-07 18:19 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01 14:39 using gnuplot's "splot" and "every" commands on org-mode table data Paul Stansell
2013-05-03 16:09 ` Eric Schulte
2013-05-06 18:57   ` Achim Gratz
2013-05-09 12:54     ` Eric S Fraga
2013-05-09 20:23       ` Achim Gratz
2013-05-09 20:42         ` Eric S Fraga
2013-05-11 10:39           ` Achim Gratz
2013-05-11 12:20             ` Rick Frankel
2013-05-21 12:36             ` Eric S Fraga
2013-05-07 17:14   ` Paul Stansell
2013-05-07 18:25     ` Eric Schulte
2013-05-07 18:39       ` Paul Stansell
2013-05-08 12:46         ` Eric Schulte
2013-05-08 15:48           ` Paul Stansell
2013-05-13 21:43             ` Eric Schulte
2013-05-17 15:00               ` Eric Schulte
2013-05-17 20:18                 ` Paul Stansell
2013-05-17 20:39                   ` Eric Schulte
2013-05-17 21:33                     ` Paul Stansell
2013-08-30 17:16                       ` Paul Stansell
2013-08-30 19:13                         ` Achim Gratz
2013-05-07 18:19   ` Paul Stansell [this message]
2013-05-08 12:41     ` Eric Schulte
2013-05-08 16:00       ` Paul Stansell
2013-05-12 18:55       ` Achim Gratz
2013-05-13 21:38         ` Eric Schulte
2013-05-14  7:06           ` Achim Gratz
2014-03-25 18:42           ` Achim Gratz
2013-05-11 10:51   ` Achim Gratz
2013-09-23 14:54   ` Paul Stansell
2013-09-23 23:32     ` Eric Schulte
2013-09-24 12:05       ` Paul Stansell
2013-09-25 18:21         ` Eric Schulte
2013-09-25 20:01           ` Paul Stansell

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

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

  git send-email \
    --in-reply-to=CAMJKaZyCc3jwaWY-d5DpDBLXDAMtJ6DuZU+xvQ69Qzih7cG3PA@mail.gmail.com \
    --to=paulstansell@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.