emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Time-Event-Diagrams
Date: Mon, 5 Dec 2016 17:36:29 +0100	[thread overview]
Message-ID: <2016-12-05T17-23-55@devnull.Karl-Voit.at> (raw)

Hi!

I am using following template to generate boxplot diagrams from 
values within an org-mode table:

    #+NAME: boxplot-$1
    #+BEGIN_SRC R :var data=${2:orgtable} :exports code :results none
    pdf('~/tmp/2del/boxplot-$1.pdf')
    
    boxplot(data\$${3:column},
        names=c("${4:column description}"),
        xlab="${5:x-axis}",
        ylab="${6:y-axis}",
        pars = list(boxwex = 0.3, staplewex = 0.5,
        boxfill="lightblue"))
    #+END_SRC
    
    [[file:~/tmp/2del/boxplot-$1.pdf]]

Do you have an idea, how I am able to generate a one- or 
two-dimensional diagram where I can visualize date/time-events?

The date/time events should be used from a table such as:

      | When             | How many |
      |------------------+----------|
      | [2016-11-17 Thu] |        3 |
      | [2016-11-23 Wed] |        4 |
      | [2016-12-10 Sat] |        1 |

Something like:

      Events |
             |             x
             |  x          x
             |  x          x
             |  x          x                 x
             +-------------------------------------> t
              17 Nov     23 Nov            10 Dec

... and/or 2-dimensional with only one event per date: missing second 
column of the table above.

Important: the x-position of each event (or bar) has to be relative
to its date/time: between 17 Nov and 23 Nov there is less space than 
between 23 Nov and 10 Dec.

I am open for R, Python or any JavaScript-foo I am able to use 
in a web browser.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

             reply	other threads:[~2016-12-05 16:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-05 16:36 Karl Voit [this message]
2016-12-06 17:00 ` Time-Event-Diagrams Thierry Banel
2016-12-06 17:54   ` Time-Event-Diagrams Karl Voit
2016-12-06 21:19     ` Time-Event-Diagrams Thierry Banel
     [not found]   ` <6ed50384ee6547f0b50a548500aed8a7@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-12-07  9:39     ` Time-Event-Diagrams Eric S Fraga
2016-12-06 17:09 ` Time-Event-Diagrams Thierry Banel
2017-08-29  9:22   ` Time-Event-Diagrams Colin Baxter
     [not found] <mailman.105.1504022416.13313.emacs-orgmode@gnu.org>
2017-09-04 18:10 ` Time-Event-Diagrams edgar

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=2016-12-05T17-23-55@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).