[R] legend and x,y cordinate values

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Fri Jul 13 18:45:51 CEST 2007


See help(legend) and help(identify).

Ajay Singh wrote:
> Hi,
> 
> I have two problems in R.
> 
> 1. I need 10 cdfs on a graph, the graph needs to have legend. Can you let 
> me know how to get legend on the graph?
> 
> 2. In ecdf plot, I need to know the x and y co-ordinates. I have to get 
> corresponding y coordinate values to x coordinate value so that I could be 
> able to know the particular percentile value to the x-coordinate value. 
> Can you let me know how could I be able the corresponding values of x to 
> the y coordinates?
> 
> Thanking you,
> Looking forward to your kind response,
> Sincerely,
> Ajay.



More information about the R-help mailing list