What's the score with g.gnuplot? It appears to be required by
m.svfit
s.probplt
s.sv
These programs can presumably just use gnuplot, although all three
have the following in their private header file:
#define PLOTPROG "g.gnuplot"
There may also be others; the above three were found during my search
for programs which used libraster. They all use the idiom:
R_open_driver();
R_close_driver();
to check that a graphics monitor is available (although this shouldn't
be necessary if vanilla gnuplot were used).
I'm guessing that g.gnuplot is (or was) an add-on, basically
comprising a "driver" for gnuplot. If so, is it still maintained? It's
not listed in the "optional" section of the REQUIREMENTS file (or
anywhere else I could find).
My main question is should these programs be using g.gnuplot by
default? Or should I change them to use gnuplot? Is it worth handling
it through "configure"?
--
Glynn Clements <glynn.clements@virgin.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Thu, 26 Apr 2001, Glynn Clements wrote:
What's the score with g.gnuplot? It appears to be required by
My main question is should these programs be using g.gnuplot by
default? Or should I change them to use gnuplot? Is it worth handling
it through "configure"?
My opinion: leave the plotting program hook open. There's a replacement
for gnuplot called Gri (out of the Univ. of Dalhousie in Canada) that's much
better. It's what I use for my scientific/technical plotting.
Rich
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
+ 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
Rich Shepard wrote:
> What's the score with g.gnuplot? It appears to be required by
> My main question is should these programs be using g.gnuplot by
> default? Or should I change them to use gnuplot? Is it worth handling
> it through "configure"?
My opinion: leave the plotting program hook open.
Sorry, I don't quite understand what you mean by this.
Right now, the "plotting program hook" is a compile-time macro
(PLOTPROG), which is (by default) defined to a program which most
users don't have (and which I can't locate).
I was suggesting either:
1. Changing the default to "gnuplot", as this is (AFAIK) more likely
to be installed than "g.gnuplot".
2. Adding code to "configure" (well, "configure.in") to allow the user
to choose the program without having to hand-edit several
(undocumented) header files.
I've since come up with some other options:
3. Change the programs to check for an environment variable (e.g.
"GRASS_GNUPLOT"), to allow the plotting program to be selected at
run-time.
4. Install a "g.gnuplot" script which calls "gnuplot" (but which could
be edited or removed by the user).
--
Glynn Clements <glynn.clements@virgin.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Thu, 26 Apr 2001, Glynn Clements wrote:
> My opinion: leave the plotting program hook open.
Sorry, I don't quite understand what you mean by this.
Glynn,
Would it be possible to specify the program to use, similar to $EDITOR or
$VISUAL?
Right now, the "plotting program hook" is a compile-time macro
(PLOTPROG), which is (by default) defined to a program which most
users don't have (and which I can't locate).
For Gri, take a look here: <http://www.phys.ocean.dal.ca/~kelley/gri/>
3. Change the programs to check for an environment variable (e.g.
"GRASS_GNUPLOT"), to allow the plotting program to be selected at
run-time.
Works for me.
Rich
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
+ 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
Rich Shepard wrote:
> > My opinion: leave the plotting program hook open.
>
> Sorry, I don't quite understand what you mean by this.
Glynn,
Would it be possible to specify the program to use, similar to $EDITOR or
$VISUAL?
That shouldn't take much work; I'll get onto it once CVS is back up.
--
Glynn Clements <glynn.clements@virgin.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Fri, 27 Apr 2001, Glynn Clements wrote:
> Would it be possible to specify the program to use, similar to $EDITOR or
> $VISUAL?
That shouldn't take much work; I'll get onto it once CVS is back up.
Thanks, Glynn. Just let us know -- in the documentation -- what variable
name you've chosen.
Rich
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
+ 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Thu, Apr 26, 2001 at 04:35:34PM -0700, Rich Shepard wrote:
On Fri, 27 Apr 2001, Glynn Clements wrote:
> > Would it be possible to specify the program to use, similar to $EDITOR or
> > $VISUAL?
>
> That shouldn't take much work; I'll get onto it once CVS is back up.
Thanks, Glynn. Just let us know -- in the documentation -- what variable
name you've chosen.
.. and please add to
documents/envVars.txt
Thanks!
Markus
PS: Here the g.gnuplot history: gnuplot once was modified to write directly
into the GRASS monitor instead of opening it's own window. That's why
g.gnuplot was invented. However, this is extra work and doesn't make much
sense to me. Even it would be impossible keep both versions in sync. So
"gnuplot" should be fine.
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
> > > Would it be possible to specify the program to use, similar to $EDITOR or
> > > $VISUAL?
> >
> > That shouldn't take much work; I'll get onto it once CVS is back up.
>
> Thanks, Glynn. Just let us know -- in the documentation -- what variable
> name you've chosen.
.. and please add to
documents/envVars.txt
OK; m.svfit, s.probplt and s.sv all use $GRASS_GNUPLOT as the plotting
program. GRASS_GNUPLOT defaults to "gnuplot -persist" (in
etc/Init.sh).
They no longer check whether the driver is running (not necessary),
and so they don't link to libraster.
I've updated documents/envVars.txt. The programs' HTML files all
mention GRASS_GNUPLOT in the NOTES section.
Also, I've removed all references to g.gnuplot from all HTML files,
and removed g.gnuplot.html.
--
Glynn Clements <glynn.clements@virgin.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'