From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: org-plot histogram bug when the x-axis labels could be interpreted as numbers Date: Wed, 14 Jan 2009 10:49:43 -0600 Message-ID: <41c818190901140849xf500eadye6b476dd7f2aad2e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LN8w6-0006ns-Lm for emacs-orgmode@gnu.org; Wed, 14 Jan 2009 11:49:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LN8w5-0006n7-Uh for emacs-orgmode@gnu.org; Wed, 14 Jan 2009 11:49:46 -0500 Received: from [199.232.76.173] (port=34254 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LN8w5-0006mr-M9 for emacs-orgmode@gnu.org; Wed, 14 Jan 2009 11:49:45 -0500 Received: from yw-out-1718.google.com ([74.125.46.156]:6299) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LN8w5-0003RH-9z for emacs-orgmode@gnu.org; Wed, 14 Jan 2009 11:49:45 -0500 Received: by yw-out-1718.google.com with SMTP id 9so264024ywk.66 for ; Wed, 14 Jan 2009 08:49:43 -0800 (PST) Content-Disposition: inline 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 list Hi list * org-plot bug The following table works correctly with org-plot #+PLOT: title:"org-plot test" ind:1 type:2d with:hist set:"style fill solid" set:"yrange [0:]" | Year | a | b | |-------+---+---| | x2006 | 3 | 1 | | 2007 | 1 | 2 | | 2008 | 2 | 0 | However, if the "x" is removed from the start of all the years, it no longer works: #+PLOT: title:"org-plot bug" ind:1 type:2d with:hist set:"style fill solid" set:"yrange [0:]" | Year | a | b | |------+---+---| | 2006 | 3 | 1 | | 2007 | 1 | 2 | | 2008 | 2 | 0 | From glancing through org-plot.el, it seems as though the problem is that the text-ind parameter is false when all the values in the "independent variable" column are legal numbers. However, my lisp skills are not up to fixing this. Cheer Will --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia