emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?


From: Eric S Fraga
Subject: Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?
Date: Sat, 21 Aug 2010 21:35:03 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Sat, 21 Aug 2010 14:30:48 -0500, John Hendy <address@hidden> wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; ISO-8859-1 (7bit)>]
> Hi,
> 
> 
> I'm interested in plotting with non-numeric data for the x component of the
> data points but don't want to have the gnuplot default of automatic spacing.
> Does anyone know a way to have a word displayed instead of a number but have
> the words unevenly spaced according to a "hidden value"?
> 
> Example:
> 
> | 1 | x: where it should be on the scale |  y |
> |---+------------------------------------+----|
> | a |                                  0 | 10 |
> | b |                                 10 | 20 |
> | c |                                 11 | 30 |
> | d |                                 40 | 40 |
> 
> Does that make sense? If I just had the table minus the 2nd column, it would
> space a->d evenly as if they were 0,1,2,3 or something like that. I'd like
> control over their spacing.

It does make sense and gnuplot supports this perfectly fine. From the
gnuplot info manual (commands > set-show > xtics), an example is:

: set xtics ("low" 0, "medium" 50, "high" 100)

however, how to get this from org into gnuplot is something I cannot
help with.  Sorry.  Maybe babel is the way to go but I wouldn't have a
clue where to start...
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

reply via email to

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