[R] identify() and controlling label size

Barry Rowlingson B.Rowlingson at lancaster.ac.uk
Wed Mar 31 16:58:38 CEST 2004


Hanke, Alex wrote:
> I thought this was going to be easy ...
> Can the label size of identify() be controlled by setting par(cex.*) because
> I'm having no luck? My only recourse is to save the index and position of
> the labels from identify() and use text() to replot them.
> 

  Funny, it seems to ignore that, but allows 'col=' and 'font=' to set 
the font colour and type.

  But! It accepts 'ps=' to set the point size! You may be saved...

Try:

plot(1:10)
identify(1:10,ps=24)
identify(1:10,ps=12)

Baz




More information about the R-help mailing list