On Wed, 17 May 2006, Haiyong Xu wrote: > Hi there, > I encountered a problem when plotting circles. It looks weird that the radii > in x and y axis are different since the default lengths of units in x and y > axes are different. > Is there any way to make the units equal? > I run the following codes and got a plot attached. > > symbols(rep(0,6), rep(0,6), circles = c(5, 15, 25, 35, 45, 55), inches = > FALSE, xlim = c(-60,60), ylim = c(-60, 60))
Add asp=1 (see ?symbols). -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
