Jason Lee-14 wrote:
> 
>  I want to plot "V1" against "V2" with the condition that I
> want to mark(color) the point(row 5) on the graph. This is so i could see
> some triangle shape thing on the graph for row 5.
> 
> 

You could try something crude like
plot(V1,V2, col=ifelse( (1:length(V1)) == 5, "red","black") )
 or
plot(V1,V2, pch=ifelse( (1:length(V1)) == 5, 1,2) )


-- 
View this message in context: 
http://www.nabble.com/Advise-in-R--plotting-graphs-tp17424911p17452851.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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