[R] identify() and controlling label size

Hanke, Alex HankeA at mar.dfo-mpo.gc.ca
Wed Mar 31 21:29:04 CEST 2004


Thank-you it works! I have ignored ps and relied on the cex arguments until
now.
Alex

-----Original Message-----
From: Barry Rowlingson [mailto:B.Rowlingson at lancaster.ac.uk] 
Sent: March 31, 2004 10:59 AM
To: Hanke, Alex
Cc: 'r-help at stat.math.ethz.ch'
Subject: Re: [R] identify() and controlling label size


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

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list