[GRASS-user] i.spectral error

Hi, Dear grass-user colleague

I want obtain a spectral response of four images with i.spectral, but when run the code, this send me a error. I have gnuplot version 4.4 (installed from macport). How to can i solve this error? Thank in advance

i.spectral -i -m raster=Acrf_b1,Acrf_b2,Acrf_2010_b3,Acrf_2010_b4 output=Spectralresponce.png

THE CODE

Buttons:
Left: where am i
Middle: draw to/from here
Right: quit this

EAST: NORTH:
731739.14835165 1758715.54945055
731893.26923077 1755787.25274725

set data style lines # THIS IS THE ERROR MESSAGE
^
“spectrum.gnuplot”, line 10: Unrecognized option. See ‘help set’. # THIS IS THE ERROR MESSAGE

Gaspar Reyes Póndigo
Universidad del Mar, Oaxaca, México
Campus Puerto-Ángel
Carretera principal Puerto Ángel Zipolite km 1.5
C.P. 70902

2011/6/3 Gaspar Reyes Póndigo <gos47@hotmail.com>:

Hi, Dear grass-user colleague

I want obtain a spectral response of four images with i.spectral, but when
run the code, this send me a error. I have gnuplot version 4.4
(installed from macport). How to can i solve this error? Thank in advance
i.spectral -i -m raster=Acrf_b1,Acrf_b2,Acrf_2010_b3,Acrf_2010_b4
output=Spectralresponce.png
# THE CODE
Buttons:
Left: where am i
Middle: draw to/from here
Right: quit this
EAST: NORTH:
731739.14835165 1758715.54945055
731893.26923077 1755787.25274725
set data style lines # THIS IS THE ERROR MESSAGE
^
"spectrum.gnuplot", line 10: Unrecognized option. See 'help set'.

Yes: the correct syntax is this:

set style data lines

I have fixed it in all GRASS versions.
In your local copy, you can simply apply this change with a text
editor, even in the installed version since it is just a script:

(the line numbers are at the left side, the fix is easy to do).
http://trac.osgeo.org/grass/changeset/46545

Thanks for catching it,
Markus