This looks a bit like homework, and makes no attempt whatsoever to follow the posting guide or present previous work. But still, I'd start with ?grepl, and move on to use rseek.org to look for functions for whatever kind of plot you need to make. The R Graph Gallery is also a good resource. And even ?plot might be helpful, though I know it's boring to have to read the help files yourself. Sarah On Thursday, July 12, 2012, imnew wrote: > Hi all, may i know is it possible to plot a graph by first letter? > for example: > > Name: Age: > Angel 20 > Amelia 20 > Bernard 19 > Stephanie 20 > Vanessa 22 > Angeline 23 > Camel 21 > > If I want to plot the name started with letter 'A' and their Angel, how is > it possible to plot it? > Thanks. > -- Sarah Goslee http://www.stringpage.com http://www.sarahgoslee.com http://www.functionaldiversity.org [[alternative HTML version deleted]]