[GRASS-user] ps.map: One Script Works, One Doesn't
Hamish
hamish_b at yahoo.com
Tue Mar 9 18:28:06 EST 2010
Rich wrote:
> I have two ps.map input scripts called
> 'flowlinedensity.psmap' and
> 'slopes.psmap'. They both compile, but when I view the
> latter I get a
> ghostscript error box, no colortable, and no points legend
> in the v.legend
> area.
>
> Running diff on the two scripts shows only this:
>
> 1c1
> < raster aber10m.flowdensityAvg
> ---
> > raster aber10m.slope
> 48c48
> < text 78% 28% Flow Line\n Densities
> ---
> > text 77% 30% Slope (Degrees)
...
> Since the only differences are the base raster map,
> text position and content, and colortable range I fail
> to see why the latter throws a gv error.
>
> If I remove the vlegend clause it displays.
>
> Any ideas?
text 77% 30% Slope (Degrees)
( and ) need to be quoted like \( and \).
see the documentation for the "comments" instruction, I guess it
applies to "text" as well.
PostScript uses () as the beginning/end delimiter for text
strings.
Hamish
More information about the grass-user
mailing list