<style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>


<p style="margin-bottom:0cm">Hi,<br><br>I am using the graph
function in r.mapcalc. The input is the name of the map to be
converted and a string with XY values, like: 
</p>

<p style="margin-bottom:0cm">"newmap = graph(map, 1, x1,y1,
x2,y2,... xi,yi)"</p>
<p style="margin-bottom:0cm">
</p>
<p style="margin-bottom:0cm">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:</p>
<p style="margin-bottom:0cm">
</p>
<p style="margin-bottom:0cm">"newmap = graph(map,
x=x1,x2,x3,x4,...xi, y=y1,y2,y3,y4,...,yi)"</p>
<p style="margin-bottom:0cm">
</p>
<p style="margin-bottom:0cm">For me the second option would make it
especially much easier to create this graphs within scripts. So I
wondering, what are the reasons that makes the current way of doing
this better? And would it be possible to implement a new option to
give the x and y values as separate vectors?</p>
<p style="margin-bottom:0cm">
</p>
<p style="margin-bottom:0cm">Cheers,</p>
<p style="margin-bottom:0cm">
</p>
<p style="margin-bottom:0cm">Paulo</p>
<p style="margin-bottom:0cm"><br>
</p>
<p style="margin-bottom:0cm"><br>
</p>