[GRASS-user] i.spectral and gnuplot
Michael Barton
michael.barton at asu.edu
Wed Jun 28 11:28:48 EDT 2006
What is the chance that i.spectral could use the new, expanded d.graph
instead of gnuplot for this? I haven't looked at the script, but this would
allow it to run without an external dependency.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
> From: Stuart Edwards <sedwards2 at cinci.rr.com>
> Date: Wed, 28 Jun 2006 00:52:13 -0400
> To: Hamish <hamish_nospam at yahoo.com>
> Cc: <grassuser at grass.itc.it>
> Subject: Re: [GRASS-user] i.spectral and gnuplot
>
> Hamish, Francesco
>
> After fearing for my sanity, I think I may have found the problem.
> The script in Lorenzo's binary distribution is not the same as the
> one that you pointed me to in spite of identical headers. Attached
> 'i.spectral' is from the distribution, 'i.spectral2' is the script at
> <http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/scripts/
> i.spectral/i.spectral?rev=HEAD&content-type=text/plain>
> The differences start at about line 51.
>
> Tomorrow I'll have a crack at this again using the correct version!
> Gnuplot does open on command from the shell and GRASS_GNUPLOT = /sw/
> bin/gnuplot.
>
> Regards
>
> Stuart
>
>
>
>
> On Jun 26, 2006, at 10:58 PM, Hamish wrote:
>
>> Stuart Edwards wrote:
>>
>>> Now when I run i.spectral the following error is returned:
>>>
>>> line 229: gnuplot: command not found
>>>
>>> Is this a path problem on my part or something in the script? Is
>>> $GNUPLOT (from line 229) the same as GRASS_GNUPLOT (the
>>> environmental variable)? Wish I knew more about this! Thanks for
>>> any advice.
>>
>>
>> ? I don't see a $GNUPLOT at or near line 229 in any version.
>> what does line 229 look like?
>>
>> can you try using the latest CVS version?
>>
>> http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/scripts/
>> i.spectral/i.spectral?rev=HEAD&content-type=text/plain
>>
>>
>> before you start the GRASS from a terminal shell, or placed in
>> .grass.bashrc have you set (assuming you use Bash and not Csh)
>>
>> GRASS_GNUPLOT=/sw/wherever/gnuplot/is/gnuplot
>> export GRASS_GNUPLOT
>>
>> ?
>>
>>
>>
>> Hamish
>
More information about the grass-user
mailing list