Opened 8 years ago

Closed 7 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 Changed 8 years ago by martinl

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

comment:2 Changed 7 years ago by neteler

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

Closing here, reopen if needed.

comment:3 Changed 7 years ago by martinl

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