[GRASS-user] i.spectral and gnuplot

Stuart Edwards sedwards2 at cinci.rr.com
Mon Jun 26 09:43:35 EDT 2006


Glynn, Hamish

Thanks for looking into it.  Since I'm hooked on Lorenzo's binaries  
I'll have to wait for his next update.

Stuart
On Jun 24, 2006, at 10:00 AM, Glynn Clements wrote:

>
> Stuart Edwards wrote:
>
>> I'm trying to run i.spectral which of course requires gnuplot.  I
>> have gnuplot 4 installed (via fink) but i.spectral can't see it and
>> asks for it to be installed.  I made GRASS_GNUPLOT = /sw/bin but that
>> didn't help.  I'm running 6.1cvs on OSX 10.4.6.  Any suggestions on
>> how to make gnuplot visible to i.spectral would be much appreciated.
>
> There is a gratuitous check for whether gnuplot is in the path:
>
> 	#check if present
> 	if [ ! -x "`which gnuplot`" ] ; then
> 	    echo "$PROG: gnuplot required, please install first" 2>&1
> 	    exit 1
> 	fi
>
> Remove that check from the i.spectral script. It actully uses
> $GRASS_GNUPLOT to invoke it.
>
> -- 
> Glynn Clements <glynn at gclements.plus.com>
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser




More information about the grass-user mailing list