g.gnuplot, gnuplot and grass scripts

Hi all,

1) I tried to use g.gnuplot.3d but is asks for g.gnuplot! Where can I
find it? I did not found it in incoming neither in the other sources. Any
suggestions ?

2) I am trying to invoke gnuplot in my Grass scripts. I would like to see
my Grass environment also used in gnuplot. Probably i have to add it in my
.gnuplot. Any one experience with this?

These questions are may be a bit unclear but maybe an example of a
.gnuplot which interacts with grass would be welcome!

      Bart

**************************************************************************

  ir. Bart Cosyn
  EC- Environment project
  CRS4
  Environmental modelling group
  Via Nazario Sauro, 10
  09123-Cagliari
  Italy
  Tel +/39/70/2796278
  Fax +/39/70/2796216
  E-mail: bcosyn@crs4.it
**************************************************************************

Bart Cosyn (bcosyn@crs4.it) writes on 23 Jan 95:

1) I tried to use g.gnuplot.3d but is asks for g.gnuplot! Where can I
find it? I did not found it in incoming neither in the other sources. Any
suggestions ?

I don't know anything about g.gnuplot.3d, but
g.gnuplot can be made from the regular gnuplot sources. see

ftp://ftp.dartmouth.edu/pub/gnuplot/gnuplot3.5.tar.Z

and look for makefile.g (which is a Gmakefile in disguise).

c.f. ftp://pasture.ecn.purdue.edu/pub/mccauley/grass/\[rv\]\.to\.gnuplot\.tar\.gz

2) I am trying to invoke gnuplot in my Grass scripts. I would like to see
my Grass environment also used in gnuplot. Probably i have to add it in my
.gnuplot. Any one experience with this?

These questions are may be a bit unclear but maybe an example of a
.gnuplot which interacts with grass would be welcome!

maybe an example would help here...

--Darrell
James Darrell McCauley, USDA National Needs Fellow
Agric Engineering, Purdue University, West Lafayette, IN 47907-1146, USA
mccauley@ecn.purdue.edu +++ http://soils.ecn.purdue.edu/~mccauley/

Hi James,

thanks for the suggestion. I got the source now but have a problem to
compile it. I am compiling on irix5.2 and got the problem he gets in an
endless loop at readline.c

here is the message he gives!
        cc -cckr -O -DREADLINE -DNOCWDRC -DGRASS
-DCONTACT=\"grassp-list@moon.cecer.army.mil\"
-DHELPFILE=\"/usr/people/grass/Grass4.1/man/help/g.gnuplot\"
-I/usr/people/grass/Grass4.1/src/include -DUSE_TERMIO -c readline.c
cfe: Warning 581: readline.c:143: Macro VREPRINT redefined.

and stacks there. I know it has to do with the -DREADLINE option in gnuplot
Makefile. My system does not understand it so i commented it out. But he
keeps on giving the same even after cleaning the objectfiles and
rerunning it! May be someone managed to compile it! Any help is welcome!!!

        Bart

**************************************************************************

  ir. Bart Cosyn
  EC- Environment project
  CRS4
  Environmental modelling group
  Via Nazario Sauro, 10
  09123-Cagliari
  Italy
  Tel +/39/70/2796278
  Fax +/39/70/2796216
  E-mail: bcosyn@crs4.it
**************************************************************************