Hello,
I am not able to plot a circle of a given radius using symbols(). In
the example below, the circle appears too large:
plot(0, 0, xlim = c(-1, 1), ylim = c(-1, 1))
symbols(0, 0, circles = 1, inches = FALSE, add = TRUE)
What's happening?
Ery
The circle is not too large; it just uses your x-units for the
radius and your plotting region isn't square.
Here are some things to try:
plot(0, 0, xlim = c(-1, 1), ylim = c(-1, 1))
symbols(0, 0, circles = 1, inches = FALSE, add = TRUE)
abline(v = c(-1,1)) # shows that x-units 'fit'
abline(h =
2 matches
Mail list logo