emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* table, columns and plot
@ 2016-01-26 10:20 flav
  2016-01-26 17:17 ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: flav @ 2016-01-26 10:20 UTC (permalink / raw)
  To: emacs-orgmode

Hi !
I want to plot the extract of columns :
But, the gnuplot block do not found the tab1.
Is it possible to name the columnview table ?

Org-mode version 8.3.3 (8.3.3-17-gce80a0-elpa @
/home/flav/.emacs.d/elpa/org-20160118/) 

Thks

* Synthèse
  #+name: tab1
  #+begin: columnview :hlines 1 :id "prj_encours"
  | prj | Client | Acteurs | Début             | Charges |
  |-----+--------+---------+-------------------+---------|
  |     |        |         |                   |         |
  | p1  | c1     | a1, a2  | [2016-01-26 mar.] |      10 |
  | p2  | c2     | a3      | [2017-01-02 lun.] |      12 |
  #+end

  #+begin_src gnuplot :var data=tab1 :file syn_prj.png
  reset
  #   ZZset terminal png transparent truecolor
  set grid
  set style data histograms
  set key top left outside horizontal autotitle columnhead
  set style histogram cluster gap 1
  set boxwidth 0.9 relative
  set style fill solid 1.0 border -1
  set xtics rotate by 30
  set xtics offset 0,-1.0
  plot data using 5:xticlabels(1)
  #+end_src

   #+RESULTS:
   [[file:syn_prj.png]]

* prj en cours
  :PROPERTIES:
  :ID:       prj_encours  
  :COLUMNS:  %prj %Client %Acteurs %Début %Charges
  :END:
** mig UIM
   :PROPERTIES:
   :prj:      p1
   :Client:   c1
   :Acteurs:  a1, a2
   :Début:    [2016-01-26 mar.]
   :Charges:  10
   :END:
** D-Series
   :PROPERTIES:
   :prj: p2
   :Client:   c2
   :Acteurs:  a3
   :Début:    [2017-01-02 lun.]
   :Charges:  12
   :END:
   
* prj archives

-- 
flav

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

end of thread, other threads:[~2016-01-27 10:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-26 10:20 table, columns and plot flav
2016-01-26 17:17 ` Eric S Fraga
2016-01-27  6:58   ` flav
2016-01-27 10:26     ` Eric S Fraga
2016-01-27 10:27     ` Eric S Fraga

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