[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: |
Mon, 23 Aug 2010 11:16:24 -0400 |
John Hendy <address@hidden> wrote:
> Sounds good. Where would I post the solution?
>
I think the list is the proper place: if the question comes up again,
then it can be added to Worg.
Cheers,
Nick
> On Sat, Aug 21, 2010 at 6:17 PM, Nick Dokos <address@hidden> wrote:
>
> John Hendy <address@hidden> wrote:
>
> > Problem solved with babel. I was able to get everything I wanted by
> > piecing together some examples from the mailing list and gnuplot
> > examples/manual around the web.
> >
>
> Good! Maybe you should post the babel solution for future reference.
> Here is an org-plot solution for future reference: there is a script
> option that allows you to use an arbitrary gnuplot script. The org
> manual (http://orgmode.org/manual/Org_002dPlot.html#Org-Plot) describes
> it very well:
>
> ,----
> | script If you want total control, you can specify a script file (place
> | the file name between double-quotes) which will be used to
> | plot. Before plotting, every instance of $datafile in the
> | specified script will be replaced with the path to the generated
> | data file. Note: even if you set this option, you may still want
> | to specify the plot type, as that can impact the content of the
> | data file.
> `----
>
> foo.org:
> --8<---------------cut here---------------start------------->8---
> #+plot: type:2d script:"myscript.gp"
> | 1 | x: where it should be on the scale | y |
> |---+------------------------------------+----|
> | a | 0 | 10 |
> | b | 10 | 20 |
> | c | 11 | 30 |
> | d | 40 | 40 |
> --8<---------------cut here---------------end--------------->8---
>
> myscript.gp:
> --8<---------------cut here---------------start------------->8---
> plot '$datafile' using 2:3:xticlabels(1)
> --8<---------------cut here---------------end--------------->8---
>
> Nick
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- [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, 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?, 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 <=
- 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
- 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/25
- Re: [Orgmode] [For Worg?] Gnuplot unevenly spaced non-numeric data plot?, Eric Schulte, 2010/08/25