Re: [R] help with recalling data points in a specific region of the plot

2009-08-24 Thread David Winsemius
On Aug 24, 2009, at 6:50 PM, Edward Chen wrote: Thank you so much for your reply. I apologize for not making my question clearer. The problem I have right now is not just a matrix. I have a plot in which the X and Y are both calculated by other functions before the plot. After reviewing th

Re: [R] help with recalling data points in a specific region of the plot

2009-08-24 Thread David Winsemius
On Aug 24, 2009, at 12:55 PM, Edward Chen wrote: Hi all, Is there a quick way to display or recall data points from a specific region on the plot? For example I want the points from x>5 and y>5? Thank you very much! Your question is pretty light on specifics but assuming that you have co

Re: [R] help with recalling data points in a specific region of the plot

2009-08-24 Thread John Kane
[,1]>5 & mydata[,2] >5, 1, 0) # identify points >5 mydata <- data.frame(mydata, z) ggplot(mydata, aes(x=x, y=y, colour= factor(z))) + geom_point() --- On Mon, 8/24/09, Edward Chen wrote: > From: Edward Chen > Subject: [R] help with recalling data points in a specific regio

[R] help with recalling data points in a specific region of the plot

2009-08-24 Thread Edward Chen
Hi all, Is there a quick way to display or recall data points from a specific region on the plot? For example I want the points from x>5 and y>5? Thank you very much! -- Edward Chen [[alternative HTML version deleted]] __ R-help@r-project.org