[GRASS-user] creating contour maps from x,y.z data

Hello,
I found the python matplotlib basemap toolkit as an easy and fast tool to plot data from a xyz data file (regular spaced) as a contour map.

For an online example see:
http://matplotlib.sourceforge.net/screenshots.html

What is the GRASS workflow to accomplish this?

I dis:

v.in.ascii my_xyz
v.surf.idw

But the result map was rather coarse with a lot of pixels and no definitive contours. The same data contoured with matplotlib lead to a nice plot.

Thanks in advance,
Timmie

On 23/07/08 01:44, Tim Michelsen wrote:

Hello,
I found the python matplotlib basemap toolkit as an easy and fast tool to plot data from a xyz data file (regular spaced) as a contour map.

For an online example see:
http://matplotlib.sourceforge.net/screenshots.html

What is the GRASS workflow to accomplish this?

I dis:

v.in.ascii my_xyz
v.surf.idw

try

- v.surf.rst or r.surf.nnbathy (add-on).
- r.in.xyz

But the result map was rather coarse with a lot of pixels

Try changing your resolution settings.

and no definitive contours.

Did you run r.contour to create the contours ?

Moritz