grobName.html 1.16 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Generate a Name for a Grob</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for grobName {grid}"><tr><td>grobName {grid}</td><td align="right">R Documentation</td></tr></table>
<h2>Generate a Name for a Grob</h2>


<h3>Description</h3>

<p>
This function generates a unique (within-session) name for
a grob, based on the grob's class.
</p>


<h3>Usage</h3>

<pre>
grobName(grob = NULL, prefix = "GRID")
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>grob</code></td>
<td>
A grob object or <code>NULL</code>.</td></tr>
<tr valign="top"><td><code>prefix</code></td>
<td>
The prefix part of the name.</td></tr>
</table>

<h3>Value</h3>

<p>
A character string of the form <code>prefix.class(grob).index</code></p>

<h3>Author(s)</h3>

<p>
Paul Murrell
</p>



<hr><div align="center">[Package <em>grid</em> version 2.5.1 <a href="00Index.html">Index]</a></div>

</body></html>