From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Banel Subject: Re: Time-Event-Diagrams Date: Tue, 06 Dec 2016 18:00:12 +0100 Message-ID: <5846EE9C.200@free.fr> References: <2016-12-05T17-23-55@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEJ6I-0001RP-6B for emacs-orgmode@gnu.org; Tue, 06 Dec 2016 12:00:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEJ6F-0005ca-6N for emacs-orgmode@gnu.org; Tue, 06 Dec 2016 12:00:18 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:25019) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cEJ6F-0005cH-0I for emacs-orgmode@gnu.org; Tue, 06 Dec 2016 12:00:15 -0500 Received: from [IPv6:2a01:e35:2e21:def0:1c23:84b:acfe:1dc9] (unknown [IPv6:2a01:e35:2e21:def0:1c23:84b:acfe:1dc9]) by smtp6-g21.free.fr (Postfix) with ESMTP id AA4BF7803C3 for ; Tue, 6 Dec 2016 18:00:12 +0100 (CET) In-Reply-To: <2016-12-05T17-23-55@devnull.Karl-Voit.at> 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 What about GnuPlot? #+plot: ind:1 deps:(2) type:2d with:"impulse lw 6" set:"yrange [0:]" | When | How many | |------------------+----------| | [2016-11-17 Thu] | 3 | | [2016-11-23 Wed] | 4 | | [2016-12-10 Sat] | 1 | Type org-plot/gnuplot or C-c " g in the table Le 05/12/2016 17:36, Karl Voit a =E9crit : > Hi! > > I am using following template to generate boxplot diagrams from=20 > values within an org-mode table: > > #+NAME: boxplot-$1 > #+BEGIN_SRC R :var data=3D${2:orgtable} :exports code :results none > pdf('~/tmp/2del/boxplot-$1.pdf') > =20 > boxplot(data\$${3:column}, > names=3Dc("${4:column description}"), > xlab=3D"${5:x-axis}", > ylab=3D"${6:y-axis}", > pars =3D list(boxwex =3D 0.3, staplewex =3D 0.5, > boxfill=3D"lightblue")) > #+END_SRC > =20 > [[file:~/tmp/2del/boxplot-$1.pdf]] > > Do you have an idea, how I am able to generate a one- or=20 > 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=20 > 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=20 > between 23 Nov and 10 Dec. > > I am open for R, Python or any JavaScript-foo I am able to use=20 > in a web browser. >