Change in input for graph function in r.mapcalc
|Reported by:||pvanbosgeo||Owned by:|
The input for the graph function in r.mapcalc is a string with XY values, like:
"newmap = graph(map, x1,y1, x2,y2,... xi,yi)"
Often, X and Y values are available as separate columns or vectors. In such cases, it would be much easier if X and Y values can be given as separate vectors, e.g., something like:
"newmap = graph(map, x1,x2,x3,x4,...xi, y1,y2,y3,y4,...,yi)"
Glynn Clements has already created a patch to implement this, see http://lists.osgeo.org/pipermail/grass-dev/2012-November/060851.html. I would like to suggest to implement this patch which will add a graph2() function with the above syntax