See ?strwidth
On Wed, Oct 20, 2010 at 3:36 PM, Barth B. Riley
<bbriley@chestnut.org>wrote:
> Dear list
>
> I am interested n developing a graph using plot() and text() commands in
> which several text strings will be placed within the plot area I would like
> some way to get the size (width and height), either in pixels or using the
> plot's coordinate system, of text strings, based on the typeface/font
size
> assigned for writing text in the plot area. Is therre function that can do
> this? I have seen in one of my R books reference to accessing text
> properties, including size, but do not see any specific functions
mentioned.
>
> Thanks
>
> Barth
>
>
> ________________________________
> PRIVILEGED AND CONFIDENTIAL INFORMATION
> This transmittal and any attachments may contain PRIVILEGED AND
> CONFIDENTIAL information and is intended only for the use of the
> addressee. If you are not the designated recipient, or an employee
> or agent authorized to deliver such transmittals to the designated
> recipient, you are hereby notified that any dissemination,
> copying or publication of this transmittal is strictly prohibited. If
> you have received this transmittal in error, please notify us
> immediately by replying to the sender and delete this copy from your
> system. You may also call us at (309) 827-6026 for assistance.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
>
http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>
--
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O
[[alternative HTML version deleted]]