Opened 11 years ago

Closed 10 years ago

#1802 closed enhancement (fixed)

Change in input for graph function in r.mapcalc

Reported by: pvanbosgeo Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Raster Version: svn-trunk
Keywords: r.mapcalc Cc:
CPU: Unspecified Platform: Unspecified


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 I would like to suggest to implement this patch which will add a graph2() function with the above syntax

Change History (3)

comment:1 by martinl, 11 years ago

Component: DefaultRaster
Keywords: r.mapcalc added
Version: unspecifiedsvn-trunk

comment:2 by neteler, 10 years ago

Patch applied in r59362: new graph2() function added.

Closing here, reopen if needed.

comment:3 by martinl, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.