From mboxrd@z Thu Jan 1 00:00:00 1970 From: henry atting Subject: Re: plotting when x-axis has non-numeric data Date: Sun, 28 Feb 2010 19:09:49 +0100 Message-ID: <87d3zp8c5u.fsf@online.de> References: <878wae8zm1.fsf@online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NlnaJ-0002pi-35 for emacs-orgmode@gnu.org; Sun, 28 Feb 2010 13:09:43 -0500 Received: from [140.186.70.92] (port=60568 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlnaG-0002o3-Op for emacs-orgmode@gnu.org; Sun, 28 Feb 2010 13:09:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NlnaD-0005X9-IM for emacs-orgmode@gnu.org; Sun, 28 Feb 2010 13:09:38 -0500 Received: from lo.gmane.org ([80.91.229.12]:45684) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlnaD-0005Wx-CS for emacs-orgmode@gnu.org; Sun, 28 Feb 2010 13:09:37 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nlna7-0000fy-FX for emacs-orgmode@gnu.org; Sun, 28 Feb 2010 19:09:31 +0100 Received: from dslb-188-102-021-065.pools.arcor-ip.net ([188.102.21.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2010 19:09:31 +0100 Received: from nsmp_02 by dslb-188-102-021-065.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2010 19:09:31 +0100 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 On Sa, Feb 27 2010, henry atting wrote: > I have a table which I am plotting longly, it looks like this: > > #+PLOT: title:"expenses" ind:1 type:2d with:lines > #+PLOT: set:"yrange [0:]" labels:("month" "expenses" "average") > | month | two |three| > |------------+--------+-----| > | November | 500 | 500 | > | December | 500 | 500 | > | January | 600 | 500 | > | February | 400 | 500 | > > Thus far it was no problem that the x-axis contains non-numeric data. > Now gnuplot stops with this error message: > > gnuplot> plot '/tmp/org-plot18686CtJ' using 1:3:xticlabel(1) with lines title 'H-index' > warning: Skipping data file with no valid points > x range is invalid > > When I try to plot the table 'Citas' from this tutorial [1] I get the > same error message. > > henry > > ___ > > [1] http://orgmode.org/worg/org-tutorials/org-plot.php Okay, I see; for some reason the following statement is not more valid: ,----[ From: http://orgmode.org/worg/org-tutorials/org-plot.php ] | Org-plot can also produce histograms from 2d data, plot the following | table. Notice that the column specified as ind contains textual | non-numeric data, when this is the case org-plot will use the data as | labels for the x-axis using the gnuplot xticlabels() function. `---- As far as I see, you have to do it with org-babel now, which works just as well for me. henry -- http://literaturlatenight.de