Hi Ivo,

On Wed, May 8, 2013 at 1:37 PM, ivo welch <ivo...@gmail.com> wrote:
> dear R-experts---first, a suggestion to martin: the ecdf() function
> could have an optional parameter to set the title.  by looking at
> str(), I see the plot title is set in an attr named "call".  i.e., I
> can reset it as
>
> ee <- ecdf( rnorm(25 ) )
> attr(ee,"call") <- "my own title"
> plot(ee)

Why not just:

R> plot(ee, main="my own title")

> alas, I cannot figure out how to get rid of the title altogether.
> attr(ee,"call") <- NULL gives me two quotation marks ("") .  is it
> possible to remove the title altogether?

R> plot(ee, main="")
R> plot(ee, main=NULL)

-steve

--
Steve Lianoglou
Computational Biologist
Department of Bioinformatics and Computational Biology
Genentech

______________________________________________
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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to