Re: [R] Why are there small circles in my plot

2009-08-19 Thread Stephan Kolassa

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

__
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.


Re: [R] Why are there small circles in my plot

2009-08-19 Thread S Ellison


 Mao Jianfeng jianfeng@gmail.com 19/08/2009 08:10:54 
There is my data and my codes to create a plot. I want to know why
there are two small circles in the upper right and lower left of the
plot respectively. 
Because your first plot() command put them there.

add type=n to the first plot command?



***
This email and any attachments are confidential. Any use...{{dropped:8}}

__
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.