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: Plotting in Guile Date: Wed, 28 Jul 2010 11:21:40 -0400 Message-ID: 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 1280330565 13872 80.91.229.12 (28 Jul 2010 15:22:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 15:22:45 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jul 28 17:22:43 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 1Oe8Sw-0002Mx-VW for guile-user@m.gmane.org; Wed, 28 Jul 2010 17:22:43 +0200 Original-Received: from localhost ([127.0.0.1]:43449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe8Sw-0000RT-8J for guile-user@m.gmane.org; Wed, 28 Jul 2010 11:22:42 -0400 Original-Received: from [140.186.70.92] (port=45397 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe8S3-0008Gg-Mf for guile-user@gnu.org; Wed, 28 Jul 2010 11:21:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oe8S2-00072K-FD for guile-user@gnu.org; Wed, 28 Jul 2010 11:21:47 -0400 Original-Received: from chondestes.bio.unc.edu ([152.2.67.61]:40171) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe8S2-000725-Ba for guile-user@gnu.org; Wed, 28 Jul 2010 11:21:46 -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 o6SFLioR028532 for ; Wed, 28 Jul 2010 11:21:44 -0400 Original-Received: (from joel@localhost) by chondestes.bio.unc.edu (8.14.4/8.14.4/Submit) id o6SFLhxx028531; Wed, 28 Jul 2010 11:21:43 -0400 X-Authentication-Warning: chondestes.bio.unc.edu: joel set sender to adamsonj@email.unc.edu using -f 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:8010 Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable Hello, 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 everything within one program, to keep Makefiles simple and (ideally) only deal with one programming language for the project. Any suggestions on how to accomplish this? 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. 2. My thoughts were that I could use the POSIX IPC modules available in Guile to run GNUPLOT and send commands through a pipe or other appropriate interface. Despite knowing little of how IPC works or the best way to accomplish this, I always like to learn something new. Does this sound like it's worthwhile or like it would work at all? 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) iF4EAREIAAYFAkxQSwcACgkQp61eY7lvATImgQD/T24BAz2rBzxeixM+JuSJwSS9 7/7UmGLOjp2DJ82GtGYBAJiqmWWAuDV9J53ZuF385jX6URIFnJOjqi/R1LLWfXWk =LpIx -----END PGP SIGNATURE----- --=-=-=--