not sure if anyone is still using Garnet here. I have just put the library
I made for myself to display scientific data and functions (lines, scatter
plot, histograms, distibutions, areas, etc). There is no documentation
available yet, but there is an example in the source which should be
obvious. The advantage of using this lib is that Garnet provides a function
to export any window into a nice PostScript file. So, it means you can
generate all the graphs realtime from your programs and then export the
graph to .PS files directly from your software (no need to pipe to GNUPlot
etc).
The page for the library is here:
http://www.cs.nott.ac.uk/~rvb/lisp/plot-2d/
the picture is generated from the example in the source.
The library is just 45K (with the example).
Hope someone finds it useful. Comments are welcome
Regards!
r
o
m
a
n
Roman> Hi!
Roman> not sure if anyone is still using Garnet here. I have just put the library
Roman> I made for myself to display scientific data and functions (lines, scatter
Roman> plot, histograms, distibutions, areas, etc). There is no documentation
Roman> available yet, but there is an example in the source which should be
Roman> obvious. The advantage of using this lib is that Garnet provides a function
Roman> to export any window into a nice PostScript file. So, it means you can
Roman> generate all the graphs realtime from your programs and then export the
Roman> graph to .PS files directly from your software (no need to pipe to GNUPlot
Roman> etc).
This is something I've always wanted because piping things to gnuplot
is sometimes problematic. The graphs look very nice!
Any interest in doing a 3D version? Then I don't have to call gnuplot
from lisp anymore. :-)
Ray
> not sure if anyone is still using Garnet here. I have just put the library
> I made for myself to display scientific data and functions (lines, scatter
> plot, histograms, distibutions, areas, etc). There is no documentation
> available yet, but there is an example in the source which should be
> obvious. The advantage of using this lib is that Garnet provides a function
> to export any window into a nice PostScript file. So, it means you can
> generate all the graphs realtime from your programs and then export the
> graph to .PS files directly from your software (no need to pipe to GNUPlot
> etc).
Oooh, this looks nice, thank you for releasing it! A couple of comments:
1. You should announce it on the garnet users list, too
(garnet dash users at cs dot cmu dot edu)
2. You should put an explicit license on it (eg, http://www.x.org/terms.htm),
or if you intend it to be in the public domain, say so in the
source (like in the Garnet source files).
> Hope someone finds it useful.
I certainly will; in a month or so, I was going to need some way of
graphing data from a Garnet app. Guess I don't need to worry about
that anymore.
--
/|_ .-----------------------.
,' .\ / | No to Imperialist war |
,--' _,' | Wage class war! |
/ / `-----------------------'
( -. |
| ) |
(`-. '--.)
`. )----'
> I have just put the library I made for myself to display scientific
> data and functions (lines, scatter plot, histograms, distibutions,
> areas, etc).
That looks slick.
(In case anyone is looking for something similar on the Mac, Nigel
Gilbert has a 2D/3D charting package at
<ftp://ftp.digitool.com/pub/mcl/contrib/Chart.sit.hqx>. I put the
manual at http://heavymeta.org/chart/Chart.html so you can see the
pretty pictures.)
John Wiseman
> not sure if anyone is still using Garnet here. I have just put the library
A project for coordinating the maintenance and further development of
Garnet was recently set up at SourceForge:
http://garnetlisp.sourceforge.net
Paolo
--
EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation
http://www.paoloamoroso.it/ency/README
> "Roman Belavkin" <please_dont_se...@cs.nott.ac.uk> writes:
>
> > not sure if anyone is still using Garnet here. I have just put the library
> > I made for myself to display scientific data and functions (lines, scatter
> > plot, histograms, distibutions, areas, etc). There is no documentation
> > available yet, but there is an example in the source which should be
> > obvious. The advantage of using this lib is that Garnet provides a function
> > to export any window into a nice PostScript file. So, it means you can
> > generate all the graphs realtime from your programs and then export the
> > graph to .PS files directly from your software (no need to pipe to GNUPlot
> > etc).
Motivated by your post, Roman, I have looked at Garnet, and it seems
quite nice. Thank you. [Somehow the CVS-version of Garnet from
sourceforge did not work for me (CMUCL 18d), so I fetched Fred
Gilham's version from ftp://ftp.csl.sri.com/pub/users/gilham/garnet]
> Oooh, this looks nice, thank you for releasing it! A couple of comments:
>
> 1. You should announce it on the garnet users list, too
> (garnet dash users at cs dot cmu dot edu)
>
> 2. You should put an explicit license on it (eg, http://www.x.org/terms.htm),
> or if you intend it to be in the public domain, say so in the
> source (like in the Garnet source files).
I second this. I would suggest some really liberal license, best
would be PD. I'm thinking of switching from Gnuplot to use Garnet
with your code (and you can be sure that I'll mention where it
originated), but I am careful with the licenses of the code that I
use.
Nicolas.
Sincerly
AHz
Worked for me, last time I tried it. :-)
--
Fred Gilham gil...@csl.sri.com
And then [Clinton] turned to Hunter Thompson, of all people, and said
with wholehearted fervor, "We're going to put one hundred thousand new
police officers on the street."
I was up all night persuading Hunter that this was not a personal
threat. -- P. J. O'Rourke
> quite nice. Thank you. [Somehow the CVS-version of Garnet from
> sourceforge did not work for me (CMUCL 18d), so I fetched Fred
> Gilham's version from ftp://ftp.csl.sri.com/pub/users/gilham/garnet]
I suggest that you notify the maintainer, so that he can look into this and
fix problems in the source base with more active maintainance.
Details: I got doc.tar.gz, lib.tar.gz, src-2001-May-29.tar.gz from the
above web adress and extracted them in a Directory
/usr/local/src/garnet. Then I replaced two strings "*FILL-THIS-IN*"
in "garnet-loader.lisp" with the appropriate paths. Next, I loaded
garnet-prepare-compile.lisp, garnet-loader.lisp, and
garnet-compiler.lisp. Because the instructions seemed to require it,
I moved the shell script garnet-after-compile from garnet/src to
garnet before using it. Finally, I put the following in my init-File:
(load "library:subsystems/clx-library")
(load "/usr/local/src/garnet/src/garnet-loader.lisp")
Yours, Nicolas.
> On 19 Jul 2002 10:42:06 +0200, Nicolas Neuss
> <Nicola...@iwr.uni-heidelberg.de> wrote:
>
> > quite nice. Thank you. [Somehow the CVS-version of Garnet from
> > sourceforge did not work for me (CMUCL 18d), so I fetched Fred
> > Gilham's version from ftp://ftp.csl.sri.com/pub/users/gilham/garnet]
>
> I suggest that you notify the maintainer, so that he can look into this and
> fix problems in the source base with more active maintainance.
>
>
> Paolo
OK. I'll rerun it and will report the first bug. But my impression
is that this CVS version has to be overworked (it has been put there
only in May this year), probably by combining it with Fred Gilhams
work. I think this should be the very first step that the maintainer
(Cliff Yapp) should do.
Nicolas.