ecifying a location in a
grid <code>viewport()</code> in grid units to a coordinate pair specifying a
location in device units relative to the lower left corner of the plotting
canvas.</p>
    
    </div>

    <pre class="usage"><span class='fu'>gridToDevice</span>(<span class='kw'>x</span> <span class='kw'>=</span> <span class='fl'>0</span>, <span class='kw'>y</span> <span class='kw'>=</span> <span class='fl'>0</span>, <span class='kw'>units</span> <span class='kw'>=</span> <span class='st'>"native"</span>