[R] Why are there small circles in my plot

Stephan Kolassa Stephan.Kolassa at gmx.de
Wed Aug 19 09:20:05 CEST 2009


Hi,

Mao Jianfeng schrieb:
> plot(c(min(myda$traits),max(myda$traits)),c(-0.03,0.5), xlab='State',
> ylab='ylab')

Here, you are plotting two data points: (min(myda$traits),-0.03) and 
(max(myda$traits),0.5). Try this:

 > plot(c(min(myda$traits),max(myda$traits)),c(-0.03,0.5), xlab='State',
 > ylab='ylab',type='n')

HTH,
Stephan




More information about the R-help mailing list