emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Plotting date on xaxis


From: Ivan Vilata i Balaguer
Subject: [Orgmode] Re: Plotting date on xaxis
Date: Sat, 15 May 2010 15:47:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Johan Ekh (2010-02-22 19:31:41 +0100) wrote:

> I try to plot a table looking like this
>
>      |       Date    |   Kg |
>      |-----------------+--------|
>      | 2010-02-21 | 95.0 |
>      | 2010-02-22 | 93.0 |
>      | 2010-02-23 | 92.0 |
>      | 2010-02-24 | 91.5 |
>      | 2010-02-25 | 91.0 |
>      | 2010-02-29 | 92.0 |
>      |                  |        |
>
> with the dates on the xaxis using
>
> #+PLOT: title:"Weight" ind:1 deps:(2) type:2d with:linespo set:"xdata time"
> timefmt:%Y-%m-%d set:"yrange [90:]"
>
> but no plot is generated. If I remove <set:"xdata time">, the plot is
> generated but without interpreting the dates as dates.
>
> Can anyone see what I do wrong?

Today I faced the same problem and I fixed it by replacing
``timefmt:%Y-%m-%d`` with ``set:"timefmt '%Y-%m-%d'".

HTH,

-- 
Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]