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

* Re: table, columns and plot
  2016-01-26 10:20 table, columns and plot flav
@ 2016-01-26 17:17 ` Eric S Fraga
  2016-01-27  6:58   ` flav
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2016-01-26 17:17 UTC (permalink / raw)
  To: flav; +Cc: emacs-orgmode

On Tuesday, 26 Jan 2016 at 11:20, flav@epita.fr wrote:
> 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"

What is this line meant to do?  Without it, the gnuplot src block works
just fine.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3.3-449-gd85ff3

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

* Re: table, columns and plot
  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
  0 siblings, 2 replies; 5+ messages in thread
From: flav @ 2016-01-27  6:58 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Tuesday, 26 Jan 2016 at 11:20, flav@epita.fr wrote:
>> 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"
>
> What is this line meant to do?  Without it, the gnuplot src block works
> just fine.

   #+begin: columnview :hlines 1 :id "prj_encours"

without this line "#+begin: columnview :hlines 1 :id "prj_encours", I
can't extract properties to make my table, isn't it ?

-- 
flav

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

* Re: table, columns and plot
  2016-01-27  6:58   ` flav
@ 2016-01-27 10:26     ` Eric S Fraga
  2016-01-27 10:27     ` Eric S Fraga
  1 sibling, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2016-01-27 10:26 UTC (permalink / raw)
  To: flav; +Cc: emacs-orgmode

On Wednesday, 27 Jan 2016 at 07:58, flav@epita.fr wrote:
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> On Tuesday, 26 Jan 2016 at 11:20, flav@epita.fr wrote:
>>> 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"
>>
>> What is this line meant to do?  Without it, the gnuplot src block works
>> just fine.
>
>    #+begin: columnview :hlines 1 :id "prj_encours"
>
> without this line "#+begin: columnview :hlines 1 :id "prj_encours", I
> can't extract properties to make my table, isn't it ?

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

* Re: table, columns and plot
  2016-01-27  6:58   ` flav
  2016-01-27 10:26     ` Eric S Fraga
@ 2016-01-27 10:27     ` Eric S Fraga
  1 sibling, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2016-01-27 10:27 UTC (permalink / raw)
  To: flav; +Cc: emacs-orgmode

On Wednesday, 27 Jan 2016 at 07:58, flav@epita.fr wrote:
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:

[...]

>>>   #+name: tab1
>>>   #+begin: columnview :hlines 1 :id "prj_encours"
>>
>> What is this line meant to do?  Without it, the gnuplot src block works
>> just fine.
>
>    #+begin: columnview :hlines 1 :id "prj_encours"
>
> without this line "#+begin: columnview :hlines 1 :id "prj_encours", I
> can't extract properties to make my table, isn't it ?

Apologies for the previous reply which got sent before I had a chance to
type anything -- hit wrong key! <blush>

Anyway, I cannot help with this particular aspect as I have never tried
to extract properties from a table.  I do not even know what that
means.  :-)

Hope somebody else can help you.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.3-456-g164555

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