[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot? |
Date: |
Sat, 21 Aug 2010 16:41:32 -0400 |
John Hendy <address@hidden> wrote:
> 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.
Gnuplot can certainly do it, but whether you can convince org-plot/gnuplot
to emit the right incantation, I don't know.
Try the following in gnuplot
plot 'foo.data' using 2:3:xticlabels(1)
with the data file containing
,----
| a 0 10
| b 10 20
| c 11 30
| d 40 40
`----
HTH,
Nick
- [Orgmode] Gnuplot unevenly spaced non-numeric data plot?, John Hendy, 2010/08/21
- Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?, Eric S Fraga, 2010/08/21
- Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?,
Nick Dokos <=
- Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?, John Hendy, 2010/08/21
- Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?, John Hendy, 2010/08/21
- Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?, Nick Dokos, 2010/08/21
- Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?, John Hendy, 2010/08/23
- Re: [Orgmode] Gnuplot unevenly spaced non-numeric data plot?, Nick Dokos, 2010/08/23
- Message not available
- Message not available
- Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?, John Hendy, 2010/08/23
- Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?, suvayu ali, 2010/08/24
- Message not available
- Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?, Nick Dokos, 2010/08/24
- Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?, Eric Schulte, 2010/08/24
- Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?, John Hendy, 2010/08/24