Re: [R] RES: set a legend with an "image" graph

2009-03-17 Thread Jorge Ivan Velez
Dear Luis, You might be interested in ?title. Here is an example took from ?image: require(grDevices) # for colours x <- y <- seq(-4*pi, 4*pi, len=27) r <- sqrt(outer(x^2, y^2, "+")) image(z = z <- cos(r^2)*exp(-r/6), col=gray((0:32)/32)) # title added after plotting title(main="Here you go!")

[R] RES: set a legend with an "image" graph

2009-03-17 Thread Rodrigo Aluizio
Luis, take a look at the ?legend function, it can produce almost any kind of legend you may need! Hope It helps. Rodrigo. -Mensagem original- De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Em nome de Luis Ridao Cruz Enviada em: terça-feira, 17 de março de 2009 11:

Re: [R] RES: set a legend with an "image" graph

2009-03-17 Thread Luis Ridao Cruz
R-help, I'm sorry that I said " I don't have idea ". What I mean t is that I just don't know how to set a legend when "image" is called. Thanks in advance __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do