[Orgmode] Re: plotting when x-axis has non-numeric data
On Mo, Mär 01 2010, Eric Schulte wrote: While for any serious plotting I would certainly recommend using Org-babel over org-plot, org-plot should still function correctly. I've just pushed up a fix to the bug you described, so your previous table should work once again. Yes, it works fine again. As the Zen Master T.Deshimaru said (Zenglish he used to call his broken English): `Bad Become Good' But for the bug maybe I would not have dealt too much with the org-babel (which is really great) Thanks, henry -- http://literaturlatenight.de ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: plotting when x-axis has non-numeric data
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 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: plotting when x-axis has non-numeric data
Hi Henry, Thanks for bringing up this bug. While for any serious plotting I would certainly recommend using Org-babel over org-plot, org-plot should still function correctly. I've just pushed up a fix to the bug you described, so your previous table should work once again. Thanks -- Eric henry atting nsmp...@online.de writes: 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 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode