From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joel James Adamson Newsgroups: gmane.lisp.guile.user Subject: Re: Plotting in Guile Date: Thu, 29 Jul 2010 10:59:33 -0400 Message-ID: References: <1DD44717-011B-4D6B-BC6E-2640D50B92F2@telia.com> <87lj8usrsv.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1280415703 18986 80.91.229.12 (29 Jul 2010 15:01:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Jul 2010 15:01:43 +0000 (UTC) Cc: guile-user@gnu.org To: Thien-Thi Nguyen Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jul 29 17:01:40 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OeUb7-0004Wd-Br for guile-user@m.gmane.org; Thu, 29 Jul 2010 17:01:38 +0200 Original-Received: from localhost ([127.0.0.1]:48055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeUat-0006Bi-MV for guile-user@m.gmane.org; Thu, 29 Jul 2010 11:00:23 -0400 Original-Received: from [140.186.70.92] (port=48893 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeUaZ-000678-LQ for guile-user@gnu.org; Thu, 29 Jul 2010 11:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeUa7-0000SB-UI for guile-user@gnu.org; Thu, 29 Jul 2010 10:59:37 -0400 Original-Received: from chondestes.bio.unc.edu ([152.2.67.61]:34359) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeUa7-0000RL-Np for guile-user@gnu.org; Thu, 29 Jul 2010 10:59:35 -0400 Original-Received: from chondestes.bio.unc.edu (chondestes.bio.unc.edu [127.0.0.1]) by chondestes.bio.unc.edu (8.14.4/8.14.3) with ESMTP id o6TExXIK029388; Thu, 29 Jul 2010 10:59:34 -0400 Original-Received: (from joel@localhost) by chondestes.bio.unc.edu (8.14.4/8.14.4/Submit) id o6TExXUn029386; Thu, 29 Jul 2010 10:59:33 -0400 X-Authentication-Warning: chondestes.bio.unc.edu: joel set sender to adamsonj@email.unc.edu using -f In-Reply-To: <87lj8usrsv.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Thu, 29 Jul 2010 08:52:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8031 Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable 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 general/ how pipes work. I'm sure that once I understand how to manipulate pipes programmatically in the GNU System that the Guile manual will be perfectly clear to me. Here's another idea that I had, and you more-experienced blokes can tell me if this is totally nutty: 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. My client (Guile) program can do all its calculating and then pass the data through the socket. This way I could still (by sending the right message) interact with GNUPLOT after an initial plot is made. However, that seems like going back to my current mechanism: iterating program -> file -> GNUPLOT The problem is that I haven't yet figured out how to get GNUPLOT to accept *data* through stdin. It will take commands, and this is clearly documented. I will pose this to a GNUPLOT list. Plotutils on the other hand, was set up for exactly this kind of programming, so I may throw my weight behind that. Thanks, Joel =2D-=20 Joel J. Adamson Servedio Lab University of North Carolina at Chapel Hill FSF Member #8164 http://www.unc.edu/~adamsonj --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iF4EAREIAAYFAkxRl1UACgkQp61eY7lvATJabAD+KpzjhJ49lUDVQ5KYu/sNFTTF oM3Dx7Qul9xCvPpY3jQA/3PJp9N61hkbhIVIiVdr7dPFpPHNZo8OfCyVUlb+fFXR =xU8F -----END PGP SIGNATURE----- --=-=-=--