emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Time-Event-Diagrams
@ 2016-12-05 16:36 Karl Voit
  2016-12-06 17:00 ` Time-Event-Diagrams Thierry Banel
  2016-12-06 17:09 ` Time-Event-Diagrams Thierry Banel
  0 siblings, 2 replies; 8+ messages in thread
From: Karl Voit @ 2016-12-05 16:36 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-09-04 18:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.105.1504022416.13313.emacs-orgmode@gnu.org>
2017-09-04 18:10 ` Time-Event-Diagrams edgar
2016-12-05 16:36 Time-Event-Diagrams Karl Voit
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

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