[GRASS-user] d.vect.chart

Could somebody explain me what is bad on this script?:

d.vect.chart map=water_chemistry_mgl type=point layer=1 columns=ca2_plus mg2_plus na_plus k_plus so4_2minus cl_minus hco3_minus ctype=pie ocolor=black sizecol=tds size=40 scale=0 colors=red green blue orange yellow cyan pink

I got the following output:
Sorry <ca2_plus> is not a valid option
Sorry <mg2_plus> is not a valid option
Sorry <na_plus> is not a valid option
Sorry <k_plus> is not a valid option
Sorry <so4_2minus> is not a valid option
Sorry <cl_minus> is not a valid option
Sorry <hco3_minus> is not a valid option
Sorry <green> is not a valid option
Sorry <blue,> is not a valid option
Sorry <orange> is not a valid option
Sorry <yellow,> is not a valid option
Sorry <cyan> is not a valid option
Sorry <pink> is not a valid option

I proposed that "columns" are columns with attributes. Did I misunderstand something?

Using Grasss6.3 last CVS, database PostgreSQL 8.1.4, running on Ubuntu 6.0.6

Many thanks in advance

Tomas

--

lanczos@t-zones.sk wrote:

Could somebody explain me what is bad on this script?:

d.vect.chart map=water_chemistry_mgl type=point layer=1 columns=ca2_plus mg2_plus na_plus k_plus so4_2minus cl_minus hco3_minus ctype=pie ocolor=black sizecol=tds size=40 scale=0 colors=red green blue orange yellow cyan pink

I got the following output:
Sorry <ca2_plus> is not a valid option
Sorry <mg2_plus> is not a valid option
Sorry <na_plus> is not a valid option

...

put commas between the column names:

columns=ca2_plus,mg2_plus,na_plus,k_plus,....

Hamish