Re: Plotting in Guile

2010-08-18 Thread Joel James Adamson
Andy Wingo writes: > Hi Joel, > > On Wed 28 Jul 2010 08:21, Joel James Adamson writes: > >> I am using Guile to iterate equations and produce trajectories from >> those iterations. My current strategy is to redirect the stdout to a >> file and then use GNUPLOT to plot the trajectories as parame

Re: Plotting in Guile

2010-08-18 Thread Andy Wingo
Hi Joel, On Wed 28 Jul 2010 08:21, Joel James Adamson writes: > I am using Guile to iterate equations and produce trajectories from > those iterations. My current strategy is to redirect the stdout to a > file and then use GNUPLOT to plot the trajectories as parametric > plots. However, I woul

Re: Plotting in Guile

2010-08-15 Thread Ludovic Courtès
Hi! Mike Gran writes: > I made a space for it on github at http://github.com/spk121/guile-plotutils > My rough code is in there under the 'guile' directory.  It should be visible > now.  It works for me. Excellent! I hope it’ll make it into Plotutils. Ludo’.

Re: Plotting in Guile

2010-08-04 Thread Thien-Thi Nguyen
() Mike Gran () Wed, 4 Aug 2010 06:51:26 -0700 (PDT) I made a space for it on github at http://github.com/spk121/guile-plotutils My rough code is in there under the 'guile' directory. It should be visible now. It works for me. I'm not sure about setting up its own project on Savann

Re: Plotting in Guile

2010-08-04 Thread Joel James Adamson
Mike Gran writes: >> From: Joel James Adamson >>> Mike Gran writes: >> > >> > >> > It is at http://github.com/spk121/guile-plotutils > >> >> Can we set up something on github?  As soon as it's ready for Savannah >> we can have a mailing list there. >> >> Joel > > I made a space for it on git

Re: Plotting in Guile

2010-08-04 Thread Mike Gran
> From: Joel James Adamson >> Mike Gran writes: > > > > > It is at http://github.com/spk121/guile-plotutils > > Can we set up something on github?  As soon as it's ready for Savannah > we can have a mailing list there. > > Joel I made a space for it on github at http://github.com/spk121/gui

Re: Plotting in Guile

2010-08-04 Thread Joel James Adamson
Mike Gran writes: >>>I'll throw up the code somewhere temporary but hackable, like github, > >>>tomorrow. >> >> Can't wait... >> > > It is at http://github.com/spk121/guile-plotutils > > We're probably boring the guile-users lists at this point, so you could > mail me directly, if you s

Re: Plotting in Guile

2010-08-03 Thread Mike Gran
>>I'll throw up the code somewhere temporary but hackable, like github, >>tomorrow. > > Can't wait... > It is at http://github.com/spk121/guile-plotutils We're probably boring the guile-users lists at this point, so you could mail me directly, if you so choose. -Mike

Re: Plotting in Guile

2010-08-03 Thread Thien-Thi Nguyen
() Mike Gran () Tue, 3 Aug 2010 06:46:36 -0700 (PDT) I talked to the plotutils maintainer over on the bug-plotutils list. He expressed some interest in folding any bindings into the upstream plotutils tree. This is great for me, because the problem with the graph bindings is that I a

Re: Plotting in Guile

2010-08-03 Thread Mike Gran
> From: Thien-Thi Nguyen > Cool. Let me know what i can do to help get it onto Savannah. I talked to the plotutils maintainer over on the bug-plotutils list. He expressed some interest in folding any bindings into the upstream plotutils tree. This is great for me, because the problem with th

Re: Plotting in Guile

2010-07-30 Thread Thien-Thi Nguyen
() Mike Gran () Thu, 29 Jul 2010 19:40:31 -0700 (PDT) With plotutils, I've got two subprojects. Plotutils's libplot contains drawing primitives. A very rough implementation might look like http://lonelycactus.com/code/guile-libplot.tar Hmm, graph.scm in that tarball seems to be corrup

Re: Plotting in Guile

2010-07-29 Thread Mike Gran
> From: Thien-Thi Nguyen > I recently (last few months) got some practice adding Guile-foo projects > to Savannah. Although not difficult, it is admittedly a little tedious. > If you send me the repo, i could set up "Guile Plot Utilities" (project > name "guile-plotutils") with you and me as

Re: Plotting in Guile

2010-07-29 Thread Neil Jerram
Joel James Adamson writes: > So would I write a C program to handle the IPC between guile and > GNUPLOT, and then control it with Scheme? There's no need to use C here. You can generate the data, and pass it to Gnuplot, all in Scheme. For example, see: http://ossau.homelinux.net:8000/~neil/gr

Re: Plotting in Guile

2010-07-29 Thread Thien-Thi Nguyen
() Joel James Adamson () Thu, 29 Jul 2010 13:31:29 -0400 I'm already there[1]. I have a C library[2] there and I plan on adding Guile bindings for it[3]. Cool. Let's see what Mike Gran has to say.

Re: Plotting in Guile

2010-07-29 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () Joel James Adamson > () Thu, 29 Jul 2010 10:59:33 -0400 > >A small C program could act as a daemon that feeds instructions to >GNUPLOT through a pipe, but the daemon could be accessed through a >socket. > > This sounds like a good idea to me. There is n

Re: Plotting in Guile

2010-07-29 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () Joel James Adamson > () Thu, 29 Jul 2010 10:52:25 -0400 > >I would definitely work on that (if you're inviting me). > > If All Goes Well (i.e., Mike Gran makes a repo public under nice > license and you finangle a savannah account in the near future), > then con

Re: Plotting in Guile

2010-07-29 Thread Thien-Thi Nguyen
() Joel James Adamson () Thu, 29 Jul 2010 10:52:25 -0400 I would definitely work on that (if you're inviting me). If All Goes Well (i.e., Mike Gran makes a repo public under nice license and you finangle a savannah account in the near future), then consider yourself invited!

Re: Plotting in Guile

2010-07-29 Thread Thien-Thi Nguyen
() Joel James Adamson () Thu, 29 Jul 2010 10:59:33 -0400 A small C program could act as a daemon that feeds instructions to GNUPLOT through a pipe, but the daemon could be accessed through a socket. This sounds like a good idea to me. There is no need for C, however (presuming high per

Re: Plotting in Guile

2010-07-29 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () Joel James Adamson > () Wed, 28 Jul 2010 14:43:49 -0400 > >I just have to figure out how to use pipes... > > Have you looked at the friendly manual? Not YET. I was just reiterating that I'm a newbie to anything involving IPC and therefore don't know /in genera

Re: Plotting in Guile

2010-07-29 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () Mike Gran > () Wed, 28 Jul 2010 09:16:21 -0700 (PDT) > >Guile binding of GNU Plotutils >[...] >planned that someday I'd clean it up and making it available > > I recently (last few months) got some practice adding Guile-foo projects > to Savannah. Altho

Re: Plotting in Guile

2010-07-29 Thread Thien-Thi Nguyen
() Mike Gran () Wed, 28 Jul 2010 09:16:21 -0700 (PDT) Guile binding of GNU Plotutils [...] planned that someday I'd clean it up and making it available I recently (last few months) got some practice adding Guile-foo projects to Savannah. Although not difficult, it is admittedly a littl

Re: Plotting in Guile

2010-07-28 Thread Thien-Thi Nguyen
() Joel James Adamson () Wed, 28 Jul 2010 14:43:49 -0400 I just have to figure out how to use pipes... Have you looked at the friendly manual? If you find something there is unclear, we can kill two birds with one stone: - improve the manual (with cooperation from Guile hackers) - help a

Re: Plotting in Guile

2010-07-28 Thread Hans Aberg
On 28 Jul 2010, at 20:50, Joel James Adamson wrote: Guile has both scm_pipe() to use in a C program, and pipe to use in Scheme code. So you might try calling it directly. If you turn GNUPLOT into a library, you can link it directly to Guile. There was such a library a few years back, but it

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Hans Aberg writes: > Guile has both scm_pipe() to use in a C program, and pipe to use in > Scheme code. So you might try calling it directly. If you turn GNUPLOT > into a library, you can link it directly to Guile. There was such a library a few years back, but it is now out of synch with the ma

Re: Plotting in Guile

2010-07-28 Thread Hans Aberg
On 28 Jul 2010, at 19:54, Joel James Adamson wrote: GNUPLOT seems to require pipes, if not using a file. The question from the IPC newbie (myself): is there something wrong with pipes? I've read a basic tutorial and they seem to do what I would need, but the author seemed to think they wer

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Linas Vepstas writes: > On 28 July 2010 12:54, Joel James Adamson wrote: >> Hans Aberg writes: >>> >>> GNUPLOT seems to require pipes, if not using a file. >> >> The question from the IPC newbie (myself): is there something wrong with >> pipes?  I've read a basic tutorial and they seem to do wh

Re: Plotting in Guile

2010-07-28 Thread Linas Vepstas
On 28 July 2010 12:54, Joel James Adamson wrote: > Hans Aberg writes: >> >> GNUPLOT seems to require pipes, if not using a file. > > The question from the IPC newbie (myself): is there something wrong with > pipes?  I've read a basic tutorial and they seem to do what I would > need, but the autho

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Mike Gran writes: >> > For my own personal use, I have a Guile binding of GNU Plotutils.  I had >> > planned that someday I'd clean it up and making it available.  It has most >> > of the functionality of the GNU Plotutils 'graph' program.  >> >> My questions: >> 1.  What is the status of Plotu

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Hans Aberg writes: > On 28 Jul 2010, at 17:21, Joel James Adamson wrote: > >> I am using Guile to iterate equations and produce trajectories from >> those iterations. My current strategy is to redirect the stdout to a >> file and then use GNUPLOT to plot the trajectories as parametric >> plots.

Re: Plotting in Guile

2010-07-28 Thread Mike Gran
> > For my own personal use, I have a Guile binding of GNU Plotutils.  I had > > planned that someday I'd clean it up and making it available.  It has most > > of the functionality of the GNU Plotutils 'graph' program.  > > My questions: > 1.  What is the status of Plotutils?  I looked into it a

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Mike Gran writes: >> Hello, >> >> 1. Is there is a plotting extension for guile, or a library that I could >> use in such a way?  The advantage of GNUPLOT is that it can produce many >> different kinds of output, including SVG and Pstricks code.  If a >> plotting module exists, I haven't found i

Re: Plotting in Guile

2010-07-28 Thread Mike Gran
> Hello, > > 1. Is there is a plotting extension for guile, or a library that I could > use in such a way?  The advantage of GNUPLOT is that it can produce many > different kinds of output, including SVG and Pstricks code.  If a > plotting module exists, I haven't found it yet. For my own persona

Re: Plotting in Guile

2010-07-28 Thread Hans Aberg
On 28 Jul 2010, at 17:21, Joel James Adamson wrote: I am using Guile to iterate equations and produce trajectories from those iterations. My current strategy is to redirect the stdout to a file and then use GNUPLOT to plot the trajectories as parametric plots. However, I would like to contain