From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Vilata i Balaguer Subject: Re: Plotting date on xaxis Date: Sat, 15 May 2010 15:47:44 +0200 Message-ID: <877hn5cm4f.fsf@edgar.terramar.selidor.net> References: <417457b51002221031k48e2470aof86f6b6e71ea454b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=36666 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODJmZ-0006sY-T9 for emacs-orgmode@gnu.org; Sat, 15 May 2010 12:00:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODJmY-0003CR-4k for emacs-orgmode@gnu.org; Sat, 15 May 2010 12:00:07 -0400 Received: from lo.gmane.org ([80.91.229.12]:57712) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODJmX-0003C5-UO for emacs-orgmode@gnu.org; Sat, 15 May 2010 12:00:06 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1ODJmV-0007YF-Tc for emacs-orgmode@gnu.org; Sat, 15 May 2010 18:00:03 +0200 Received: from 178.139.19.95.dynamic.jazztel.es ([95.19.139.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 May 2010 18:00:03 +0200 Received: from ivan by 178.139.19.95.dynamic.jazztel.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 May 2010 18:00:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 , 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/