[GRASS-dev] [GRASS GIS] #1802: Change in input for graph function in r.mapcalc

#1802: Change in input for graph function in r.mapcalc
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: unspecified
Keywords: | Platform: Unspecified
      Cpu: 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
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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1802&gt;
GRASS GIS <http://grass.osgeo.org>

#1802: Change in input for graph function in r.mapcalc
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.mapcalc | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

  * keywords: => r.mapcalc
  * version: unspecified => svn-trunk
  * component: Default => Raster

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1802#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1802: Change in input for graph function in r.mapcalc
-------------------------+--------------------------------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.mapcalc | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by neteler):

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

Closing here, reopen if needed.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1802#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1802: Change in input for graph function in r.mapcalc
--------------------------+-------------------------------------------------
  Reporter: pvanbosgeo | Owner: grass-dev@…
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Resolution: fixed | Keywords: r.mapcalc
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by martinl):

  * status: new => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1802#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>