From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Time-Event-Diagrams Date: Mon, 5 Dec 2016 17:36:29 +0100 Message-ID: <2016-12-05T17-23-55@devnull.Karl-Voit.at> Reply-To: Karl Voit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDwFx-0002ge-H6 for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 11:36:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDwFs-00045p-Q6 for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 11:36:45 -0500 Received: from [195.159.176.226] (port=48588 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDwFs-00045b-JH for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 11:36:40 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cDwFk-0001Ym-TO for emacs-orgmode@gnu.org; Mon, 05 Dec 2016 17:36:32 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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