Re: [Orgmode] org-babel and gnuplot

2010-09-08 Thread Nick Parker
Erik, That was the issue, the :file reference needed to be on the line above. Thanks. Nick Parker www.developernotes.com On Tue, Sep 7, 2010 at 10:27 PM, Erik Iverson er...@ccbr.umn.edu wrote: On 09/07/2010 10:12 PM, Nick Parker wrote: Hi John, I would actually like to plot different

Re: [Orgmode] org-babel and gnuplot

2010-09-08 Thread John Hendy
That's great! I actually figured that was from pasting it. A lot of pasted examples come in a bit jumbled. Glad you're on your way! John On Wed, Sep 8, 2010 at 8:10 AM, Nick Parker ni...@developernotes.comwrote: Erik, That was the issue, the :file reference needed to be on the line above.

Re: [Orgmode] org-babel and gnuplot

2010-09-08 Thread John Hendy
Nick, This got me curious to see the output. I tried to generate it on my computer and get this in the *gnuplot* buffer after running the code: - gnuplot plot data using 1:2:3 notitle ^ warning: Skipping data file with no valid points

Re: [Orgmode] org-babel and gnuplot

2010-09-08 Thread Nick Parker
John, I am reworking the gnuplot script, it is not done at this point, but this is what I currently have: #+begin_src gnuplot :var data=sessions :file org-running.png :exports both set title Running Stats set xtics nomirror rotate by -45 set key noenhanced set style data linespoints

Re: [Orgmode] org-babel and gnuplot

2010-09-08 Thread John Hendy
Nick, How about this?? Just fiddled around a little and wonder what you think. There might be a better way, but essentially, I've done the following: - Left y-axis = distance - Right y-axis = time - I couldn't get the xtic(1) option to work, so I replaced things with what I've found to work

Re: [Orgmode] org-babel and gnuplot

2010-09-08 Thread Nick Parker
John, Thanks for you're input, I'll give it a whirl. Nick Parker www.developernotes.com On Wed, Sep 8, 2010 at 2:04 PM, John Hendy jw.he...@gmail.com wrote: Nick, How about this?? Just fiddled around a little and wonder what you think. There might be a better way, but essentially, I've

Re: [Orgmode] org-babel and gnuplot

2010-09-07 Thread John Hendy
Hi Nick, Maybe two things off hand (booted into OS X right now where I can't try your code..) 1) try using straight gnuplot without going through org to verify your commands. This helps make sure that the syntax isn't producing errors. Another way to check this out sometimes is to C-c C-c on the

Re: [Orgmode] org-babel and gnuplot

2010-09-07 Thread Nick Parker
Hi John, I would actually like to plot different lines per distance, each that correlate to a date and elapsed-time (x and y axis respectively). I get an error with the :file notation, though I read that in a sample babel gnuplot example for generating graphs of commit history on the org-mode

Re: [Orgmode] org-babel and gnuplot

2010-09-07 Thread Erik Iverson
On 09/07/2010 10:12 PM, Nick Parker wrote: Hi John, I would actually like to plot different lines per distance, each that correlate to a date and elapsed-time (x and y axis respectively). I get an error with the :file notation, though I read that in a sample babel gnuplot example for