emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Timothy <tecosaur@gmail.com>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: Minor org-plot update, can now use with #+results
Date: Sat, 29 May 2021 00:23:40 +0800	[thread overview]
Message-ID: <87cztan7xv.fsf@gmail.com> (raw)

Hi All,

A few days ago I pushed "org-plot: Use consistent method to find table"
https://code.orgmode.org/bzg/org-mode/commit/f72a658bd0 without
putting it through as a patch, as it's one of a few minor tweaks I've
made that I thought would be more noise than signal.

However, there's an implication to this change that I think deserves
mentioning (and will be in this months TMIO). This now means that you
can put a #+plot line before #+results and it will actually work!

I quite like this, hopefully some of you will find it of interest too :)

#+begin_src python
# pretend this is some profound source of information
return [[i, i^3 - 4*i^2 - 2*i] for i in range(5)]

#+plot: ind:1
| 0 |  1 |
| 1 | -2 |
| 2 |  7 |
| 3 |  8 |
| 4 | 13 |


             reply	other threads:[~2021-05-28 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28 16:23 Timothy [this message]
2021-05-28 16:42 ` Colin Baxter
2021-05-28 16:51   ` Timothy
2021-05-28 17:10     ` Colin Baxter
2021-05-28 17:57 ` Greg Minshall

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:

  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=87cztan7xv.fsf@gmail.com \
    --to=tecosaur@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Minor org-plot update, can now use with #+results' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).